summaryrefslogtreecommitdiff
path: root/kernel_rusage.h
blob: c9028cb4dadbc1a08f365259a76d81bc8c6e6648 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * Copyright (c) 1999-2020 The strace developers.
 * All rights reserved.
 *
 * SPDX-License-Identifier: LGPL-2.1-or-later
 */

#ifndef STRACE_KERNEL_RUSAGE_H
# define STRACE_KERNEL_RUSAGE_H

# include "kernel_timeval.h"

typedef struct {
	kernel_old_timeval_t	ru_utime;
	kernel_old_timeval_t	ru_stime;
	kernel_long_t		ru_maxrss;
	kernel_long_t		ru_ixrss;
	kernel_long_t		ru_idrss;
	kernel_long_t		ru_isrss;
	kernel_long_t		ru_minflt;
	kernel_long_t		ru_majflt;
	kernel_long_t		ru_nswap;
	kernel_long_t		ru_inblock;
	kernel_long_t		ru_oublock;
	kernel_long_t		ru_msgsnd;
	kernel_long_t		ru_msgrcv;
	kernel_long_t		ru_nsignals;
	kernel_long_t		ru_nvcsw;
	kernel_long_t		ru_nivcsw;
} kernel_rusage_t;

#endif /* !STRACE_KERNEL_RUSAGE_H */