Overview  Index  Help 
Standard ML Basis Library

PROF_CONTROL

All Known Implementing Modules:

ProfControlInternals.ProfControl


signature PROF_CONTROL =
sig
  datatype compunit =
           UNIT of
           {base : int, size : int, counts : int Array.array, names : string}
  val getTimeArray : unit -> int array
  val profMode : bool ref
  val current : int ref
  val profileOn : unit -> unit
  val profileOff : unit -> unit
  val getTimingMode : unit -> bool
  val getQuantum : unit -> int
  val runTimeIndex : int
  val minorGCIndex : int
  val majorGCIndex : int
  val otherIndex : int
  val compileIndex : int
  val numPredefIndices : int
  val units : compunit list ref
  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

getTimeArray

val getTimeArray : unit -> int array


profMode

val profMode : bool ref


current

val current : int ref


profileOn

val profileOn : unit -> unit


profileOff

val profileOff : unit -> unit


getTimingMode

val getTimingMode : unit -> bool


getQuantum

val getQuantum : unit -> int


runTimeIndex

val runTimeIndex : int


minorGCIndex

val minorGCIndex : int


majorGCIndex

val majorGCIndex : int


otherIndex

val otherIndex : int


compileIndex

val compileIndex : int


numPredefIndices

val numPredefIndices : int


units

val units : compunit list ref


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).