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

Method StatisticalTimer

src/client/statisticalTimer.cpp:72–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72StatisticalTimer::StatisticalTimer( ): nEvents( 0 ), nSamples( 0 ), normalize( true )
73{
74#if defined( _WIN32 )
75 // OS call to get ticks per second2
76 ::QueryPerformanceFrequency( reinterpret_cast<LARGE_INTEGER*>( &clkFrequency ) );
77#else
78 clkFrequency = 1000000;
79#endif
80}
81
82StatisticalTimer::~StatisticalTimer( )
83{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected