Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef RUSAGESTUB_H
00015 #define RUSAGESTUB_H
00016
00017 #include <sys/time.h>
00018 #ifndef WIN32
00019 #include <sys/times.h>
00020 #endif
00021 #include <limits.h>
00022
00023 #define RUSAGE_SELF 0
00024 #define RUSAGE_CHILDREN (-1)
00025
00026 struct rusage
00027 {
00028 struct timeval ru_utime;
00029 struct timeval ru_stime;
00030 };
00031
00032 extern int getrusage(int who, struct rusage * rusage);
00033
00034 #endif