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

SCM Repository

[smlnj] Annotation of /sml/trunk/src/runtime/include/profile.h
ViewVC logotype

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 250 - (view) (download) (as text)

1 : monnier 249 /* profile.h
2 :     *
3 :     * COPYRIGHT (c) 1996 AT&T Research.
4 :     */
5 :    
6 :     #ifndef _PROFILE_
7 :     #define _PROFILE_
8 :    
9 :     #ifndef PROFILE_QUANTUM_US
10 :     # define PROFILE_QUANTUM_US 10000 /* profile timer quantum in uS */
11 :     #endif
12 :    
13 :     extern ml_val_t ProfCntArray;
14 :    
15 :     /* Indices into the ProfCntArray for the run-time and GC; these need to
16 :     * track the definitions in sml-nj/boot/NJ/prof-control.sml.
17 :     */
18 :     #define PROF_RUNTIME INT_CtoML(0)
19 :     #define PROF_MINOR_GC INT_CtoML(1)
20 :     #define PROF_MAJOR_GC INT_CtoML(2)
21 :     #define PROF_OTHER INT_CtoML(3)
22 :    
23 :     #endif /* _PROFILE_ */
24 :    

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