Re: Is any way to time (measure) the compiling time?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



stimpak wrote:
I was compiling wine from latest git, and since wine is so huge, it takes awfully lot of time, around 20mins or so. Not that im complaining, but it made me wondering how much time my computer needs to compile it and if I could somehow time it. - I could use a timer, but that beats the reason i own a computer in the first place ;)
Surprisingly Google didn't provided with anything useful, so anyone has any suggestions or ideas i could try?

cheers

use the 'time' command:

$ time make
<lots of make output>

real	0m40.541s
user	0m7.612s
sys	0m2.320s

This means that this make (idle run, didn't have new sources to compile) took 40 seconds of wallclock time, 7.6 seconds of CPU time in userspace, and 2.3 seconds of CPU time in kernel space.

Note time is a bash builtin, if you want to use the features described in 'man time' you'll have to call /usr/bin/time explicitly.


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux