C examples for time.h:clock_t
type
<ctime> <time.h>
Clock type
#include <stdio.h> #include <time.h> int main()//from w w w.j av a2s .c o m { clock_t t = clock(); printf(" %u \n", CLOCKS_PER_SEC); printf(" %u \n", t); return 0; }