MCPcopy Create free account
hub / github.com/clMathLibraries/clSPARSE / timeval

Class timeval

src/benchmarks/clsparse-bench/src/statisticalTimer.cpp:150–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148 ::QueryPerformanceCounter( reinterpret_cast<LARGE_INTEGER*>( &clkStart.at( id ) ) );
149#else
150 struct timeval s;
151 gettimeofday(&s, 0);
152 clkStart.at( id ) = (unsigned long long)s.tv_sec * 1000000 + (unsigned long long)s.tv_usec;
153#endif

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected