Hi Guys
I what know gcc compile time. gcc have any command or option for calculate compile time?
[example] I have file hello.c and then compile.I what know spent time to compile
Hi Guys
I what know gcc compile time. gcc have any command or option for calculate compile time?
[example] I have file hello.c and then compile.I what know spent time to compile
You can use the time
utility:
$ time gcc -c hello.c
real 0m0.224s
user 0m0.013s
sys 0m0.010s
Here's a link to the man page.