diff options
author | Che-liang Chiou <clchiou@chromium.org> | 2011-10-06 23:40:48 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-10-09 23:24:48 +0200 |
commit | ca366d0e382bed14c7914e2327c6460ecdddcffd (patch) | |
tree | 528a6a5cb6648782c4dd41080f807d84058b6b8d /common/Makefile | |
parent | 6feff899ef161541258f91d8f4a4b5ebe8cad20d (diff) | |
download | u-boot-imx-ca366d0e382bed14c7914e2327c6460ecdddcffd.zip u-boot-imx-ca366d0e382bed14c7914e2327c6460ecdddcffd.tar.gz u-boot-imx-ca366d0e382bed14c7914e2327c6460ecdddcffd.tar.bz2 |
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>
Diffstat (limited to 'common/Makefile')
-rw-r--r-- | common/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile index 371a0d9..fdc4206 100644 --- a/common/Makefile +++ b/common/Makefile @@ -147,6 +147,7 @@ COBJS-$(CONFIG_CMD_SPI) += cmd_spi.o COBJS-$(CONFIG_CMD_SPIBOOTLDR) += cmd_spibootldr.o COBJS-$(CONFIG_CMD_STRINGS) += cmd_strings.o COBJS-$(CONFIG_CMD_TERMINAL) += cmd_terminal.o +COBJS-$(CONFIG_CMD_TIME) += cmd_time.o COBJS-$(CONFIG_SYS_HUSH_PARSER) += cmd_test.o COBJS-$(CONFIG_CMD_TSI148) += cmd_tsi148.o COBJS-$(CONFIG_CMD_UBI) += cmd_ubi.o |