Current Path : /compat/linux/proc/self/root/usr/local/include/postgresql/server/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //compat/linux/proc/self/root/usr/local/include/postgresql/server/rusagestub.h |
/*------------------------------------------------------------------------- * * rusagestub.h * Stubs for getrusage(3). * * * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * $PostgreSQL: pgsql/src/include/rusagestub.h,v 1.19 2008/01/01 19:45:56 momjian Exp $ * *------------------------------------------------------------------------- */ #ifndef RUSAGESTUB_H #define RUSAGESTUB_H #include <sys/time.h> /* for struct timeval */ #ifndef WIN32 #include <sys/times.h> /* for struct tms */ #endif #include <limits.h> /* for CLK_TCK */ #define RUSAGE_SELF 0 #define RUSAGE_CHILDREN (-1) struct rusage { struct timeval ru_utime; /* user time used */ struct timeval ru_stime; /* system time used */ }; extern int getrusage(int who, struct rusage * rusage); #endif /* RUSAGESTUB_H */