module Resource_usage: sig
.. end
Resource usage
-- For details, "man getrusage"
type
t = {
|
utime : float ; |
|
stime : float ; |
|
: int64 ; |
|
: int64 ; |
|
: int64 ; |
|
: int64 ; |
|
minflt : int64 ; |
|
majflt : int64 ; |
|
nswap : int64 ; |
|
inblock : int64 ; |
|
oublock : int64 ; |
|
msgsnd : int64 ; |
|
msgrcv : int64 ; |
|
nsignals : int64 ; |
|
nvcsw : int64 ; |
|
nivcsw : int64 ; |
}
val nivcsw : t -> int64
val nvcsw : t -> int64
val nsignals : t -> int64
val msgrcv : t -> int64
val msgsnd : t -> int64
val oublock : t -> int64
val inblock : t -> int64
val nswap : t -> int64
val majflt : t -> int64
val minflt : t -> int64
: t -> int64
: t -> int64
: t -> int64
: t -> int64
val stime : t -> float
val utime : t -> float
module Fields: sig
.. end
val get : [ `Children | `Self ] -> t
val add : t ->
t -> t
add ru1 ru2
adds two rusage structures (e.g. your resource usage
and your children's).
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
add ru1 ru2
adds two rusage structures (e.g. your resource usage
and your children's).