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

Method Clear

src/statTimer/statisticalTimer.GPU.cpp:145–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143{}
144
145void
146GpuStatTimer::Clear( )
147{
148 labelID.clear( );
149 timerData.clear( );
150
151 nEvents = 0;
152 nSamples = 0;
153 currID = 0;
154 currSample = 0;
155 currRecord = 0;
156}
157
158// The caller can pre-allocate memory, to improve performance.
159// nEvents is an approximate value for how many seperate events the caller will think

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected