1 /*-------------------------------------------------------------------------
4 * Stubs for getrusage(3).
7 * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
10 * $Id: rusagestub.h,v 1.7 2001/10/25 05:49:55 momjian Exp $
12 *-------------------------------------------------------------------------
17 #include <sys/time.h> /* for struct timeval */
18 #include <sys/times.h> /* for struct tms */
19 #include <limits.h> /* for CLK_TCK */
22 #define RUSAGE_CHILDREN -1
26 struct timeval ru_utime; /* user time used */
27 struct timeval ru_stime; /* system time used */
30 extern int getrusage(int who, struct rusage * rusage);
31 #endif /* RUSAGESTUB_H */