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/runtime/include/profile.h
ViewVC logotype

View of /sml/trunk/src/runtime/include/profile.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (download) (as text) (annotate)
Sat Oct 4 23:33:09 1997 UTC (22 years, 8 months ago) by monnier
File size: 529 byte(s)
Initial revision
/* profile.h
 *
 * COPYRIGHT (c) 1996 AT&T Research.
 */

#ifndef _PROFILE_
#define _PROFILE_

#ifndef PROFILE_QUANTUM_US
#  define PROFILE_QUANTUM_US	10000		/* profile timer quantum in uS */
#endif

extern ml_val_t	ProfCntArray;

/* Indices into the ProfCntArray for the run-time and GC; these need to
 * track the definitions in sml-nj/boot/NJ/prof-control.sml.
 */
#define PROF_RUNTIME	INT_CtoML(0)
#define PROF_MINOR_GC	INT_CtoML(1)
#define PROF_MAJOR_GC	INT_CtoML(2)
#define PROF_OTHER	INT_CtoML(3)

#endif /* _PROFILE_ */


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