]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd_time: do not show ticks
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Fri, 18 Apr 2014 08:46:13 +0000 (17:46 +0900)
committerTom Rini <trini@ti.com>
Mon, 12 May 2014 19:19:46 +0000 (15:19 -0400)
commit1d64377177d802436329d54b69183a9ca0d33247
tree63ca6c45279b810086e50a00442e0945cfb14181
parent597fe041a85fe3b1bf6044adf5e132f7a5457000
cmd_time: do not show ticks

The command "time" shows the execution time of the command given
to the argument, like this:

    time: 45.293 seconds, 45293 ticks

Since we adopted CONFIG_SYS_HZ = 1000 for all boards,
we always have a simple formula: "1 tick = 0.0001 second".

Showing ticks looks almost redundant.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
common/cmd_time.c