[user@host][~] 6> cc -xO4 timing.c -o timing
[user@host][~] 6> ./timing
Total run time: 0
[user@host][~] 6>
Could someone tell me what this snippet of code does and where it is used? I am supposing from the command line.
Aso, it seems like someone is testing a .c program for run time. But why is Total run time 0? Im not familiar with this command -xO4, either.
I was showed this example aswell, where the run time isnt 0. Obviously the -xO4 does something or...?
[user@host][~] 6> cc timing.c -o timing
[user@host][~] 6> ./timing
Total run time: 3520000
[user@host][~] 6>