/
usr
/
include
/
bits
/
types
/
/usr/include/bits/types
mkdir
upload
Name
Size
Mode
Actions
clockid_t.h
174
0644
edit
dl
rm
clock_t.h
143
0644
edit
dl
rm
cookie_io_functions_t.h
2724
0644
edit
dl
rm
error_t.h
893
0644
edit
dl
rm
FILE.h
180
0644
edit
dl
rm
locale_t.h
982
0644
edit
dl
rm
mbstate_t.h
135
0644
edit
dl
rm
res_state.h
2009
0644
edit
dl
rm
sigevent_t.h
1204
0644
edit
dl
rm
siginfo_t.h
3886
0644
edit
dl
rm
sigset_t.h
195
0644
edit
dl
rm
sigval_t.h
599
0644
edit
dl
rm
sig_atomic_t.h
272
0644
edit
dl
rm
stack_t.h
1061
0644
edit
dl
rm
struct_FILE.h
4103
0644
edit
dl
rm
struct_iovec.h
1065
0644
edit
dl
rm
struct_itimerspec.h
288
0644
edit
dl
rm
struct_osockaddr.h
274
0644
edit
dl
rm
struct_rusage.h
4076
0644
edit
dl
rm
struct_sched_param.h
1072
0644
edit
dl
rm
struct_sigstack.h
1072
0644
edit
dl
rm
struct_statx.h
1896
0644
edit
dl
rm
struct_statx_timestamp.h
1201
0644
edit
dl
rm
struct_timespec.h
376
0644
edit
dl
rm
struct_timeval.h
287
0644
edit
dl
rm
struct_tm.h
760
0644
edit
dl
rm
timer_t.h
159
0644
edit
dl
rm
time_t.h
138
0644
edit
dl
rm
wint_t.h
796
0644
edit
dl
rm
__FILE.h
110
0644
edit
dl
rm
__fpos64_t.h
410
0644
edit
dl
rm
__fpos_t.h
381
0644
edit
dl
rm
__locale_t.h
1721
0644
edit
dl
rm
__mbstate_t.h
564
0644
edit
dl
rm
__sigset_t.h
206
0644
edit
dl
rm
__sigval_t.h
1147
0644
edit
dl
rm
Edit:
/usr/include/bits/types/struct_rusage.h
(4076B)
/* Define struct rusage. Copyright (C) 1994-2018 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ #ifndef __rusage_defined #define __rusage_defined 1 #include <bits/types.h> #include <bits/types/struct_timeval.h> /* Structure which says how much of each resource has been used. */ /* The purpose of all the unions is to have the kernel-compatible layout while keeping the API type as 'long int', and among machines where __syscall_slong_t is not 'long int', this only does the right thing for little-endian ones, like x32. */ struct rusage { /* Total amount of user time used. */ struct timeval ru_utime; /* Total amount of system time used. */ struct timeval ru_stime; /* Maximum resident set size (in kilobytes). */ __extension__ union { long int ru_maxrss; __syscall_slong_t __ru_maxrss_word; }; /* Amount of sharing of text segment memory with other processes (kilobyte-seconds). */ /* Maximum resident set size (in kilobytes). */ __extension__ union { long int ru_ixrss; __syscall_slong_t __ru_ixrss_word; }; /* Amount of data segment memory used (kilobyte-seconds). */ __extension__ union { long int ru_idrss; __syscall_slong_t __ru_idrss_word; }; /* Amount of stack memory used (kilobyte-seconds). */ __extension__ union { long int ru_isrss; __syscall_slong_t __ru_isrss_word; }; /* Number of soft page faults (i.e. those serviced by reclaiming a page from the list of pages awaiting reallocation. */ __extension__ union { long int ru_minflt; __syscall_slong_t __ru_minflt_word; }; /* Number of hard page faults (i.e. those that required I/O). */ __extension__ union { long int ru_majflt; __syscall_slong_t __ru_majflt_word; }; /* Number of times a process was swapped out of physical memory. */ __extension__ union { long int ru_nswap; __syscall_slong_t __ru_nswap_word; }; /* Number of input operations via the file system. Note: This and `ru_oublock' do not include operations with the cache. */ __extension__ union { long int ru_inblock; __syscall_slong_t __ru_inblock_word; }; /* Number of output operations via the file system. */ __extension__ union { long int ru_oublock; __syscall_slong_t __ru_oublock_word; }; /* Number of IPC messages sent. */ __extension__ union { long int ru_msgsnd; __syscall_slong_t __ru_msgsnd_word; }; /* Number of IPC messages received. */ __extension__ union { long int ru_msgrcv; __syscall_slong_t __ru_msgrcv_word; }; /* Number of signals delivered. */ __extension__ union { long int ru_nsignals; __syscall_slong_t __ru_nsignals_word; }; /* Number of voluntary context switches, i.e. because the process gave up the process before it had to (usually to wait for some resource to be available). */ __extension__ union { long int ru_nvcsw; __syscall_slong_t __ru_nvcsw_word; }; /* Number of involuntary context switches, i.e. a higher priority process became runnable or the current process used up its time slice. */ __extension__ union { long int ru_nivcsw; __syscall_slong_t __ru_nivcsw_word; }; }; #endif
Save
cmd:
run