Next: MLton.Signal
Up: MLton
Previous: MLton.Rlimit
  Contents
signature MLTON_RUSAGE =
sig
type t = {utime: Time.time, (* user time *)
stime: Time.time} (* system time *)
val rusage: unit -> {children: t,
gc: t,
self: t}
end
- type t
-
corresponds to a subset of the C struct rusage. We will add fields as
necessary.
- rusage ()
-
corresponds to the C getrusage function. It returns the resource usage of
the exited children, the garbage collector, and the process itself. The process
time includes the gc time.