| Standard ML Basis Library |
structure ProfControl : PROF_CONTROL =
struct
structure CI = Unsafe.CInterface
datatype compunit =
UNIT of
{base : int, size : int, counts : int Array.array, names : string}
val setTimer
val getQuantum : unit -> int
val setTimeArray'
val profMode : bool ref
val timingMode
val times
val getTimingMode : unit -> bool
val setTimeArray
val getTimeArray : unit -> int array
val resetTimeArray
val profileOn : unit -> unit
val profileOff : unit -> unit
val runTimeIndex : int
val minorGCIndex : int
val majorGCIndex : int
val otherIndex : int
val compileIndex : int
val numPredefIndices : int
val current : int ref
val increase
val units : compunit list ref
val newlines
val register
val reset : unit -> unit
val spaceProfiling : bool ref
val spaceProfRegister
: (Unsafe.Object.object * string -> Unsafe.Object.object) ref
end
Datatype detail |
---|
datatype compunit =
UNIT of
{base : int, size : int, counts : int Array.array, names : string}
DataConstructor detail |
---|
constructor UNIT
: {base : int, size : int, counts : int Array.array, names : string}
->
compunit
Value detail |
---|
val setTimer
val setTimeArray'
val profMode : bool ref
val timingMode
val times
val getTimingMode : unit -> bool
val setTimeArray
val getTimeArray : unit -> int array
val resetTimeArray
val runTimeIndex : int
val minorGCIndex : int
val majorGCIndex : int
val otherIndex : int
val compileIndex : int
val numPredefIndices : int
val current : int ref
val increase
val newlines
val register
val spaceProfiling : bool ref
val spaceProfRegister
: (Unsafe.Object.object * string -> Unsafe.Object.object) ref
| Standard ML Basis Library |
This document may be distributed freely over the internet as long as the copyright notice and license terms below are prominently displayed within every machine-readable copy.
Copyright © 2003 AT&T and Lucent Technologies. All rights reserved.
Permission is granted for internet users to make one paper copy for their
own personal use. Further hardcopy reproduction is strictly prohibited.
Permission to distribute the HTML document electronically on any medium
other than the internet must be requested from the copyright holders by
contacting the editors.
Printed versions of the SML Basis Manual are available from Cambridge
University Press.
To order, please visit
www.cup.org (North America) or
www.cup.cam.ac.uk (outside North America). |