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 250 - (download) (as text) (annotate)
Sat Apr 17 18:57:03 1999 UTC (21 years, 2 months ago) by monnier
File size: 533 byte(s)
This commit was generated by cvs2svn to compensate for changes in r249,
which included commits to RCS files with non-trunk default branches.
/* ml-timer.h
 * COPYRIGHT (c) 1992 by AT&T Bell Laboratories.

#ifndef _ML_TIMER_
#define _ML_TIMER_

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

/* 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_ */

ViewVC Help
Powered by ViewVC 1.0.0