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 107 - (download) (as text) (annotate)
Thu May 28 21:30:17 1998 UTC (21 years, 1 month ago) by monnier
File size: 1032 byte(s)
This commit was generated by cvs2svn to compensate for changes in r106,
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;

(*
 * $Log: profile.sig,v $
 * Revision 1.2  1998/04/14 14:23:09  george
 *   Removed extra log message
 *
 * Revision 1.1.1.1  1998/04/08 18:39:18  george
 * Version 110.5
 *
 *)

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