1 /* Copyright (C) 1999-2008 Henry Cejtin, Matthew Fluet, Suresh
2 * Jagannathan, and Stephen Weeks.
3 * Copyright (C) 1997-2000 NEC Research Institute.
5 * MLton is released under a BSD-style license.
6 * See the file MLton-LICENSE for details.
9 #if (defined (MLTON_GC_INTERNAL_FUNCS))
11 static inline void rusageZero (struct rusage
*ru
);
12 static inline void rusagePlusMax (struct rusage
*ru1
,
15 static inline void rusageMinusMax (struct rusage
*ru1
,
18 static inline uintmax_t rusageTime (struct rusage
*ru
);
19 static inline void startTiming (struct rusage
*ru_start
);
20 static uintmax_t stopTiming (struct rusage
*ru_start
, struct rusage
*ru_gc
);
22 #endif /* (defined (MLTON_GC_INTERNAL_FUNCS)) */