Replacement for constant CLK_TCK in gcc version 3

Edwin Chan/Toronto/IBM edwinc@ca.ibm.com
Fri Jul 12 06:24:00 GMT 2002


The constant CLK_TCK, which presents the real value for clock ticks per
second for the system, is now obsolete in gcc version 3.
CLK_TCK is included in <bits/time.h>for gcc 2.95
What's it's replacement in gcc version 3?
I tried the constant CLOCKS_PER_SEC, but it doesn't seem to return the same
value as CLK_TCK.

Thanks for your acknowledgement.





More information about the Gcc-help mailing list