PostgreSQL Source Code: src/include/port/win32/sys/resource.h Source File
PostgreSQL Source Code
git master
[
フレーム
]
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 Sun Oct 5 2025 00:13:17 for PostgreSQL Source Code by
doxygen
1.9.4
AltStyle
によって変換されたページ
(->オリジナル)
/
アドレス:
モード:
デフォルト
音声ブラウザ
ルビ付き
配色反転
文字拡大
モバイル