summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-12-20 10:39:07 -0800
committerSimon Glass <sjg@chromium.org>2012-01-05 19:19:05 -0800
commit86e63e0fe2ed12a5e2dcb0c8b3e4b6f074de558f (patch)
tree8b7ce2cc8524d351c9d647874f6d0ec10d0f6009 /lib
parenta7f64ee81c0b4701a0286be4ea8cd5e0474b5f9c (diff)
Add bootstage accumulation
This adds a new type of boot timer, which records the time taken by an operation, rather than marking the instant when it occurred. This is useful to track the amount of time spent in a repeating activity during boot. To use this, call bootstage_start() at the start of the activity, then bootstage_accum() at the end, to add this segment of time to the total. You can call them (start first, then accum) as many times as you like. BUG=chromium-os:22938 TEST=build and boot on Kaen Change-Id: I3f1b536dc140c91a4a780188f6974dc37780f4f0 Reviewed-on: https://gerrit.chromium.org/gerrit/13370 Commit-Ready: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions