Do not use clock() from time.h or any other library, clock() will return 4294967295 because the number of ticks is much larger than 32 bits. The function body for gettime() can be found in timesupp.c. | Do not use clock() from time.h or any other library, clock() will return 4294967295 because the number of ticks is much larger than 32 bits. The function body for gettime() can be found in timesupp.c. |