MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / initSlots

Function initSlots

3rd_party/Src/ode/ode/src/timer.cpp:271–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269// make sure all slot totals and counts reset to 0 at start
270
271static void initSlots()
272{
273 static int initialized=0;
274 if (!initialized) {
275 for (int i=0; i<MAXNUM; i++) {
276 event[i].count = 0;
277 event[i].total_t = 0;
278 event[i].total_p = 0;
279 }
280 initialized = 1;
281 }
282}
283
284
285void dTimerStart (const char *description)

Callers 1

dTimerStartFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected