Go to the source code of this file.
Definition at line 172 of file timer.cc.
176 gettimeofday(&now, &
tzp);
178 if (
startRl.tv_usec > now.tv_usec)
180 now.tv_usec += 1000000;
static double timer_resolution
static struct timezone tzp
static struct timeval startRl
Definition at line 97 of file timer.cc.
100 getrusage(RUSAGE_SELF,&
t_rec);
104 getrusage(RUSAGE_CHILDREN,&
t_rec);
static double timer_resolution
static struct rusage t_rec
Definition at line 158 of file timer.cc.
160 #ifdef HAVE_GETTIMEOFDAY
static struct timeval siStartRTime
static struct timezone tzp
static struct timeval startRl
Definition at line 69 of file timer.cc.
71 getrusage(RUSAGE_SELF,&
t_rec);
73 +
t_rec.ru_stime.tv_sec*1000000+
t_rec.ru_stime.tv_usec
75 getrusage(RUSAGE_CHILDREN,&
t_rec);
77 +
t_rec.ru_stime.tv_sec*1000000+
t_rec.ru_stime.tv_usec
79 return (
int)time(
NULL);
static struct rusage t_rec
void SetMinDisplayTime |
( |
double |
mtime | ) |
|
void SetTimerResolution |
( |
int |
res | ) |
|
Definition at line 24 of file timer.cc.
static double timer_resolution
void startRTimer |
( |
void |
| ) |
|
Definition at line 153 of file timer.cc.
static struct timeval siStartRTime
static struct timezone tzp
Definition at line 82 of file timer.cc.
84 getrusage(RUSAGE_SELF,&
t_rec);
88 getrusage(RUSAGE_CHILDREN,&
t_rec);
static struct rusage t_rec
void writeRTime |
( |
const char * |
s | ) |
|
Definition at line 195 of file timer.cc.
199 gettimeofday(&now, &
tzp);
203 now.tv_usec += 1000000;
212 Print(
"//%s %.2f sec \n" ,
v ,f);
static struct timeval siStartRTime
static struct timezone tzp
const Variable & v
< [in] a sqrfree bivariate poly
void writeTime |
( |
const char * |
s | ) |
|
Definition at line 121 of file timer.cc.
124 getrusage(RUSAGE_SELF,&
t_rec);
128 getrusage(RUSAGE_CHILDREN,&
t_rec);
136 #ifdef EXTEND_TIMER_D
140 Print(
"//%s %.2f sec\n" ,
v ,f);
static double timer_resolution
static struct rusage t_rec
const Variable & v
< [in] a sqrfree bivariate poly