]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd_time: add time command
authorChe-liang Chiou <clchiou@chromium.org>
Thu, 6 Oct 2011 23:40:48 +0000 (23:40 +0000)
committerWolfgang Denk <wd@denx.de>
Sun, 9 Oct 2011 21:24:48 +0000 (23:24 +0200)
commitca366d0e382bed14c7914e2327c6460ecdddcffd
tree528a6a5cb6648782c4dd41080f807d84058b6b8d
parent6feff899ef161541258f91d8f4a4b5ebe8cad20d
cmd_time: add time command

The 'time' command runs and reports execution time of commands.

Sample usage:
--------------------
u-boot# time crc 0x1000 1000
CRC32 for 00001000 ... 00001fff ==> ae94dc4b

time: 0.004 seconds, 4 ticks
--------------------

Signed-off-by: Che-Liang Chiou <clchiou@chromium.org>
Acked-by: Mike Frysinger <vapier@gentoo.org>
README
common/Makefile
common/cmd_time.c [new file with mode: 0644]