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

Method Reset

src/clsparseTimer/clsparseTimer-device.cpp:193–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191}
192
193void
194clsparseDeviceTimer::Reset( )
195{
196 if( nEvents == 0 || nSamples == 0 )
197 throw std::runtime_error( "StatisticalTimer::Reserve( ) was not called before Reset( )" );
198
199 ClearData( );
200 Reserve( nEvents, nSamples );
201
202 return;
203}
204
205void
206clsparseDeviceTimer::setNormalize( bool norm )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected