1 2 3 4 5 6 7 8 9 10 11 12
#include <sys/times.h> struct tms { clock_t tms_utime; clock_t tms_stime; clock_t tms_cutime; clock_t tms_cstime; }; /* POSIX(1) */