summaryrefslogtreecommitdiff
path: root/os/windows/posix/include/sys/resource.h
blob: aa9570585d4181d6d8caca3d21064b9b09fcce98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef SYS_RESOURCE_H
#define SYS_RESOURCE_H

#define RUSAGE_SELF	0
#define RUSAGE_THREAD	1

struct rusage
{
	struct timeval ru_utime;
	struct timeval ru_stime;
	int ru_nvcsw;
	int ru_minflt;
	int ru_majflt;
	int ru_nivcsw;
};

int getrusage(int who, struct rusage *r_usage);

#endif /* SYS_RESOURCE_H */