Overview  Index  Help 
Standard ML Basis Library

ProfControl


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

compunit

datatype compunit =
         UNIT of
         {base : int, size : int, counts : int Array.array, names : string}

 
DataConstructor detail

UNIT

constructor UNIT
            : {base : int, size : int, counts : int Array.array, names : string}
              ->
                compunit

 
Value detail

setTimer

val setTimer


getQuantum

val getQuantum : unit -> int


setTimeArray'

val setTimeArray'


profMode

val profMode : bool ref


timingMode

val timingMode


times

val times


getTimingMode

val getTimingMode : unit -> bool


setTimeArray

val setTimeArray


getTimeArray

val getTimeArray : unit -> int array


resetTimeArray

val resetTimeArray


profileOn

val profileOn : unit -> unit


profileOff

val profileOff : unit -> unit


runTimeIndex

val runTimeIndex : int


minorGCIndex

val minorGCIndex : int


majorGCIndex

val majorGCIndex : int


otherIndex

val otherIndex : int


compileIndex

val compileIndex : int


numPredefIndices

val numPredefIndices : int


current

val current : int ref


increase

val increase


units

val units : compunit list ref


newlines

val newlines


register

val register


reset

val reset : unit -> unit


spaceProfiling

val spaceProfiling : bool ref


spaceProfRegister

val spaceProfRegister
    : (Unsafe.Object.object * string -> Unsafe.Object.object) ref

 


Overview  Index  Help 
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).