1 #ifndef _SYS_RESOURCE_H_
2 #define _SYS_RESOURCE_H_
10 #define RUSAGE_SELF 0 /* calling process */
11 #define RUSAGE_CHILDREN -1 /* terminated child processes */
13 #define RUSAGE_THREAD 1
17 struct timeval ru_utime
; /* user time used */
18 struct timeval ru_stime
; /* system time used */
21 int getrusage (int, struct rusage
*);
26 #endif /* !_SYS_RESOURCE_H_ */