Next: posix resources funcs, Previous: posix resources rlimit, Up: posix resources [Index]
struct-rusage
Scheme level representation of the C language type struct rusage
,
(libc)struct rusage. It has the following fields:
ru_utime
An instance of struct-timeval
.
ru_stime
An instance of struct-timeval
.
ru_maxrss
An exact integer in the range of the C language type long int
.
ru_ixrss
An exact integer in the range of the C language type long int
.
ru_idrss
An exact integer in the range of the C language type long int
.
ru_isrss
An exact integer in the range of the C language type long int
.
ru_minflt
An exact integer in the range of the C language type long int
.
ru_majflt
An exact integer in the range of the C language type long int
.
ru_nswap
An exact integer in the range of the C language type long int
.
ru_inblock
An exact integer in the range of the C language type long int
.
ru_oublock
An exact integer in the range of the C language type long int
.
ru_msgsnd
An exact integer in the range of the C language type long int
.
ru_msgrcv
An exact integer in the range of the C language type long int
.
ru_nsignals
An exact integer in the range of the C language type long int
.
ru_nvcsw
An exact integer in the range of the C language type long int
.
ru_nivcsw
An exact integer in the range of the C language type long int
.
Notice some of the fields may be meaningless on some platforms, in which
case they are set to #f
.
Build and return a new instance of struct-rusage
. When no
arguments are given: the fields ru_utime
and ru_stime
are
set to instance of struct-timeval
with fields set to zero, all
the other fields are set to #f
.
Return #t
if obj is an instance of struct-rusage
.
Accessors for the fields of struct-rusage
.
Mutators for the fields of struct-rusage
.
Next: posix resources funcs, Previous: posix resources rlimit, Up: posix resources [Index]