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/ml-timer.h
ViewVC logotype

Annotation of /sml/trunk/src/runtime/include/ml-timer.h

Parent Directory Parent Directory | Revision Log Revision Log


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

1 : monnier 249 /* ml-timer.h
2 :     *
3 :     * COPYRIGHT (c) 1992 by AT&T Bell Laboratories.
4 :     */
5 :    
6 :     #ifndef _ML_TIMER_
7 :     #define _ML_TIMER_
8 :    
9 :     #ifndef _ML_BASE_
10 :     #include "ml-base.h"
11 :     #endif
12 :    
13 :     /* we define our own type to represent time values, since some systems have
14 :     * struct timeval, but others do not.
15 :     */
16 :     typedef struct {
17 :     Int32_t seconds;
18 :     Int32_t uSeconds;
19 :     } Time_t;
20 :    
21 :     extern void GetCPUTime (Time_t *user_t, Time_t *sys_t);
22 :     extern void StartGCTimer (vproc_state_t *vsp);
23 :     extern void StopGCTimer (vproc_state_t *vsp, long *time);
24 :    
25 :     #endif /* !_ML_TIMER_ */

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