Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /sml/trunk/src/system/Basis/Implementation/timer.sig
ViewVC logotype

View of /sml/trunk/src/system/Basis/Implementation/timer.sig

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1425 - (download) (as text) (annotate)
Tue Nov 18 21:06:42 2003 UTC (15 years, 11 months ago) by mblume
File size: 567 byte(s)
tentatively changed interface of Timer to what has been discussed
on the Basis mailing list
(* timer.sig
 *
 * COPYRIGHT (c) 1995 AT&T Bell Laboratories.
 *
 *)
signature TIMER = sig

    type cpu_timer
    type real_timer

    val startCPUTimer: unit -> cpu_timer
    val totalCPUTimer: unit -> cpu_timer

    val checkCPUTimer: cpu_timer -> { usr: Time.time, sys: Time.time }
    val checkGCTime: cpu_timer -> { gc: { usr: Time.time, sys: Time.time },
				    nongc: { usr: Time.time, sys: Time.time } }

    val startRealTimer: unit -> real_timer

    val checkRealTimer: real_timer -> Time.time
    val totalRealTimer: unit -> real_timer

end (* TIMER *)

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0