summaryrefslogtreecommitdiff
path: root/common/cmd_itest.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-09-28 08:56:36 +0000
committerAnatolij Gustschin <agust@denx.de>2012-10-02 22:39:33 +0200
commit0e9967735869a4e2bbc92d5d0eea0e2136180d49 (patch)
treed5a702bad60fa293a9fe6275b75bed8147979263 /common/cmd_itest.c
parent094e06a523ba040f81857609f9d889b4b57ee151 (diff)
downloadu-boot-imx-0e9967735869a4e2bbc92d5d0eea0e2136180d49.zip
u-boot-imx-0e9967735869a4e2bbc92d5d0eea0e2136180d49.tar.gz
u-boot-imx-0e9967735869a4e2bbc92d5d0eea0e2136180d49.tar.bz2
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: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/cmd_itest.c')
0 files changed, 0 insertions, 0 deletions