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/c-libs/smlnj-prof/getpquantum.c
ViewVC logotype

Annotation of /sml/trunk/src/runtime/c-libs/smlnj-prof/getpquantum.c

Parent Directory Parent Directory | Revision Log Revision Log


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

1 : monnier 2 /* getpquantum.c
2 :     *
3 :     * COPYRIGHT (c) 1996 AT&T Research.
4 :     */
5 :    
6 :     #include "ml-base.h"
7 :     #include "ml-values.h"
8 :     #include "cfun-proto-list.h"
9 :     #include "profile.h"
10 :    
11 :     /* _ml_Prof_getpquantum : unit -> int
12 :     *
13 :     * Return the profile timer quantim in microseconds.
14 :     */
15 :     ml_val_t _ml_Prof_getpquantum (ml_state_t *msp, ml_val_t arg)
16 :     {
17 :     return INT_CtoML(PROFILE_QUANTUM_US);
18 :    
19 :     } /* end of _ml_Prof_getpquantum */

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