struct tms { clock_t tms_utime ; // total processor time the calling process has used in executing the instructions of its program clock_t tms_stime ; // processor time the system has used on behalf of the calling process clock_t tms_cutime; clock_t tms_cstime; };
clock_t times (struct tms *buffer);