MCPcopy Create free account
hub / github.com/Singular/Singular / initRTimer

Function initRTimer

kernel/oswrapper/timer.cc:136–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136void initRTimer()
137{
138#ifdef HAVE_GETTIMEOFDAY
139 gettimeofday(&startRl, &tzp);
140 gettimeofday(&siStartRTime, &tzp);
141#else
142 memset(&startRl,0,sizeof(startRl));
143 memset(&siStartRTime,0,sizeof(siStartRTime));
144#endif
145}
146
147/*2
148* returns the time since a fixed point in resolutions

Callers 2

siInitFunction · 0.85
jjRTIMERFunction · 0.85

Calls 1

gettimeofdayFunction · 0.50

Tested by

no test coverage detected