mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
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>
This commit is contained in:
parent
597fe041a8
commit
1d64377177
1 changed files with 1 additions and 2 deletions
|
@ -21,8 +21,7 @@ static void report_time(ulong cycles)
|
|||
printf("\ntime:");
|
||||
if (minutes)
|
||||
printf(" %lu minutes,", minutes);
|
||||
printf(" %lu.%03lu seconds, %lu ticks\n",
|
||||
seconds, milliseconds, cycles);
|
||||
printf(" %lu.%03lu seconds\n", seconds, milliseconds);
|
||||
}
|
||||
|
||||
static int do_time(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
||||
|
|
Loading…
Reference in a new issue