MCPcopy Create free account
hub / github.com/clMathLibraries/clBLAS / Start

Method Start

src/client/statisticalTimer.cpp:141–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141void
142StatisticalTimer::Start( sTimerID id )
143{
144#if defined( _WIN32 )
145 ::QueryPerformanceCounter( reinterpret_cast<LARGE_INTEGER*>( &clkStart.at( id ) ) );
146#else
147 struct timeval s;
148 gettimeofday(&s, 0);
149 clkStart.at( id ) = (unsigned long long)s.tv_sec * 1000000 + (unsigned long long)s.tv_usec;
150#endif
151}
152
153void
154StatisticalTimer::Stop( sTimerID id )

Callers 15

call_funcMethod · 0.80
call_funcMethod · 0.80
call_funcMethod · 0.80
call_funcMethod · 0.80
call_gemmMethod · 0.80
call_gemmMethod · 0.80
call_gemmMethod · 0.80
call_gemmMethod · 0.80
call_funcMethod · 0.80
roundtrip_funcMethod · 0.80
call_funcMethod · 0.80
call_funcMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected