MCPcopy Create free account
hub / github.com/clMathLibraries/clFFT / Reset

Method Reset

src/statTimer/statisticalTimer.GPU.cpp:173–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173void
174GpuStatTimer::Reset( )
175{
176 if( nEvents == 0 || nSamples == 0 )
177 throw std::runtime_error( "StatisticalTimer::Reserve( ) was not called before Reset( )" );
178
179 ReleaseEvents();
180 Reserve( nEvents, nSamples );
181
182 return;
183}
184
185void
186GpuStatTimer::setNormalize( bool norm )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected