17 lines
478 B
C
17 lines
478 B
C
#ifndef _SYS_TIMES_H
|
|
#define _SYS_TIMES_H
|
|
|
|
#include <sys/types.h>
|
|
|
|
/* Structure describing CPU time used by a process and its children */
|
|
struct tms {
|
|
clock_t tms_utime; /* User CPU time */
|
|
clock_t tms_stime; /* System CPU time */
|
|
clock_t tms_cutime; /* User CPU time of dead children */
|
|
clock_t tms_cstime; /* System CPU time of dead children */
|
|
};
|
|
|
|
/* Function prototype for timing system call */
|
|
clock_t times(struct tms *buffer);
|
|
|
|
#endif /* _SYS_TIMES_H */ |