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/compiler/MiscUtil/profile/profile.sig
ViewVC logotype

View of /sml/trunk/src/compiler/MiscUtil/profile/profile.sig

Parent Directory Parent Directory | Revision Log Revision Log


Revision 419 - (download) (as text) (annotate)
Fri Sep 3 23:51:27 1999 UTC (21 years ago) by monnier
File size: 852 byte(s)
This commit was generated by cvs2svn to compensate for changes in r418,
which included commits to RCS files with non-trunk default branches.
(* profile.sig
 *
 * COPYRIGHT (c) 1995 AT&T Bell Laboratories.
 *
 * User interface for controling profiling.
 *
 *)

signature PROFILE =
  sig

  (* set/get the compilation mode *)
    val setProfMode : bool -> unit
    val getProfMode : unit -> bool

  (* set/get the profile timing mode *)
    val setTimingMode : bool -> unit
    val getTimingMode : unit -> bool

    val reset : unit -> unit
	(* reset profiling counts to zero.  This is done automatically, when
	 * the timing mode is enabled by setTimingMode.
	 *)

    val report : TextIO.outstream -> unit
	(* print profiling report to stream *)
    val reportAll : TextIO.outstream -> unit
	(* print profiling report to stream; DON'T suppress zero entries*)
    val reportData: unit -> {name: string, count: int, time: Time.time} list
	(* Return the unformatted data for a report *)

  end;


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