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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 651 - (download) (as text) (annotate)
Thu Jun 1 18:34:03 2000 UTC (19 years, 3 months ago) by monnier
File size: 533 byte(s)
bring revisions from the vendor branch to the trunk
/* ml-timer.h
 *
 * COPYRIGHT (c) 1992 by AT&T Bell Laboratories.
 */

#ifndef _ML_TIMER_
#define _ML_TIMER_

#ifndef _ML_BASE_
#include "ml-base.h"
#endif

/* we define our own type to represent time values, since some systems have
 * struct timeval, but others do not.
 */
typedef struct {
    Int32_t	seconds;
    Int32_t	uSeconds;
} Time_t;

extern void GetCPUTime (Time_t *user_t, Time_t *sys_t);
extern void StartGCTimer (vproc_state_t *vsp);
extern void StopGCTimer (vproc_state_t *vsp, long *time);

#endif /* !_ML_TIMER_ */

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