Use clock_gettime (if available) to measure the process CPU time