clock(3): determine processor time - Linux man page
The clock() function returns an approximation of processor time used by the program. ... The value returned is the CPU time used so far as a clock_t; to get the number of seconds used, divide by CLOCKS_PER_SEC. If the processor time used is not available ...