C examples for time.h:CLOCKS_PER_SEC
macro
<ctime> <time.h>
Clock ticks per second
#include <stdio.h> #include <time.h> int main()/*from w ww .j a v a 2s . c o m*/ { clock_t t = clock(); printf(" %u \n", CLOCKS_PER_SEC); printf(" %u \n", t); return 0; }