PostgreSQL Source Code
git master
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
c
d
g
h
i
k
l
m
p
r
s
t
Functions
Variables
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
c
d
f
h
i
n
o
p
r
s
t
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
resource.h
Go to the documentation of this file.
1
/*
2
* Replacement for <sys/resource.h> for Windows.
3
*/
4
#ifndef WIN32_SYS_RESOURCE_H
5
#define WIN32_SYS_RESOURCE_H
6
7
#include <
sys/time.h
>
/* for struct timeval */
8
9
#define RUSAGE_SELF 0
10
#define RUSAGE_CHILDREN (-1)
11
12
struct
rusage
13
{
14
struct
timeval
ru_utime
;
/* user time used */
15
struct
timeval
ru_stime
;
/* system time used */
16
};
17
18
extern
int
getrusage
(
int
who,
struct
rusage
*
rusage
);
19
20
#endif
/* WIN32_SYS_RESOURCE_H */
getrusage
int getrusage(int who, struct rusage *rusage)
Definition:
win32getrusage.c:21
rusage
Definition:
resource.h:13
rusage::ru_utime
struct timeval ru_utime
Definition:
resource.h:14
rusage::ru_stime
struct timeval ru_stime
Definition:
resource.h:15
time.h
src
include
port
win32
sys
resource.h
Generated on Tue Apr 22 2025 18:13:27 for PostgreSQL Source Code by
1.9.4