how to measure compilation time?

mahmoodn nt_mahmood@yahoo.com
Sat Dec 8 06:48:00 GMT 2007


> use /usr/bin/time  "your compile command without quotes" for more info

I use "/usr/bin/time make" and for the same program (I posted earlier) I got
these information at the end of make:
288.03user 52.67system 6:37.84elapsed 85%CPU (0avgtext+0avgdata
0maxresident)k
0inputs+0outputs (0major+362698minor)pagefaults 0swaps

Are these numbers in second? I don't think that these numbers are equal to
"-ftime-report"? What is wrong? Am I wrong?
Thanks,


satyaakam goswami wrote:
> 
> On Dec 5, 2007 4:06 PM, mahmoodn <nt_mahmood@yahoo.com> wrote:
>>
>> How it is possible to measure compilation time in gcc? any macro,
>> script...
>> --
>> View this message in context:
>> http://www.nabble.com/how-to-measure-compilation-time--tf4948712.html#a14168965
>> Sent from the gcc - Help mailing list archive at Nabble.com.
> 
> use /usr/bin/time  "your compile command without quotes" for more info
> read the man page.
> 
> hth
> satya
> 
> 

-- 
View this message in context: http://www.nabble.com/how-to-measure-compilation-time--tf4948712.html#a14226019
Sent from the gcc - Help mailing list archive at Nabble.com.



More information about the Gcc-help mailing list