1
/*-------------------------------------------------------------------------
4
* Stubs for getrusage(3).
7
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
8
* Portions Copyright (c) 1994, Regents of the University of California
10
* $PostgreSQL: pgsql/src/include/rusagestub.h,v 1.15 2004-12-31 22:03:19 pgsql Exp $
12
*-------------------------------------------------------------------------
17
#include <sys/time.h> /* for struct timeval */
19
#include <sys/times.h> /* for struct tms */
21
#include <limits.h> /* for CLK_TCK */
24
#define RUSAGE_CHILDREN -1
28
struct timeval ru_utime; /* user time used */
29
struct timeval ru_stime; /* system time used */
32
extern int getrusage(int who, struct rusage * rusage);
34
#endif /* RUSAGESTUB_H */