This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Replacement for constant CLK_TCK in gcc version 3
- From: "Edwin Chan/Toronto/IBM" <edwinc at ca dot ibm dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 12 Jul 2002 09:24:38 -0400
- Subject: Replacement for constant CLK_TCK in gcc version 3
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.