Skip to content
Commit 0e996773 authored by Simon Glass's avatar Simon Glass Committed by Anatolij Gustschin
Browse files

bootstage: Add time accumulation feature



Sometimes we want to add up the amount of time spent in a particular
activity when it is happening in a number of discrete chunks.

Add bootstage_start() to mark the start of an acitivity and
bootstage_accum() to accumulate the time since the last start. Calling
these function in pairs results in the accumulated time being collected.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 094e06a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment