Go to the source code of this file.
◆ getRTimer()
Definition at line 170 of file timer.cc.
171{
173
175
177 {
178 now.tv_usec += 1000000;
180 }
181
185
187}
STATIC_VAR double timer_resolution
STATIC_VAR struct timeval startRl
STATIC_VAR struct timezone tzp
◆ getTimer()
Definition at line 95 of file timer.cc.
96{
109}
STATIC_VAR struct rusage t_rec
STATIC_VAR int64 siStartTime
◆ initRTimer()
Definition at line 156 of file timer.cc.
157{
158#ifdef HAVE_GETTIMEOFDAY
161#else
164#endif
165}
STATIC_VAR struct timeval siStartRTime
◆ initTimer()
Definition at line 67 of file timer.cc.
68{
71 +
t_rec.ru_stime.tv_sec*1000000+
t_rec.ru_stime.tv_usec
72 +5000)/10000;
75 +
t_rec.ru_stime.tv_sec*1000000+
t_rec.ru_stime.tv_usec
76 +5000)/10000;
78}
◆ SetMinDisplayTime()
Definition at line 27 of file timer.cc.
28{
30}
STATIC_VAR double mintime
◆ SetTimerResolution()
◆ startRTimer()
◆ startTimer()
◆ writeRTime()
Definition at line 193 of file timer.cc.
194{
196
198
200 {
201 now.tv_usec += 1000000;
203 }
204
208
210 Print(
"//%s %.2f sec \n" ,
v ,
f);
211}
const Variable & v
< [in] a sqrfree bivariate poly
◆ writeTime()
Definition at line 119 of file timer.cc.
120{
133 {
134#ifdef EXTEND_TIMER_D
136#else
138 Print(
"//%s %.2f sec\n" ,
v ,
f);
139 else
141#endif
142 }
143}
VAR char my_yylinebuf[80]
◆ rtimerv
◆ timerv