lib/stubs/mlton-stubs/rusage.sig
raw| 1 | (* Copyright (C) 1999-2007 Henry Cejtin, Matthew Fluet, Suresh |
| 2 | * Jagannathan, and Stephen Weeks. |
| 3 | * Copyright (C) 1997-2000 NEC Research Institute. |
| 4 | * |
| 5 | * MLton is released under a HPND-style license. |
| 6 | * See the file MLton-LICENSE for details. |
| 7 | *) |
| 8 | |
| 9 | signature MLTON_RUSAGE = |
| 10 | sig |
| 11 | type t = {utime: Time.time, (* user time *) |
| 12 | stime: Time.time} (* system time *) |
| 13 | |
| 14 | val measureGC: bool -> unit |
| 15 | val rusage: unit -> {children: t, gc: t, self: t} |
| 16 | end |