Gnu time and formatting output

后端 未结 1 1280
面向向阳花
面向向阳花 2021-02-12 20:43

I wanted to use gnu time to measure running time of some little .c programs. In the man it is written that:

-f FORMAT, --format FORMAT
Use FORMAT as the format s         


        
相关标签:
1条回答
  • 2021-02-12 20:45

    Bash for one has a shell builtin named time. One way to get past it is to type command time - command will ignore the builtins and run the time program from your $PATH. Another way is alias time=/usr/bin/time. On the other hand the bash builtin respects environment variable TIMEFORMAT.

    0 讨论(0)
提交回复
热议问题