| 171 | } |
| 172 | |
| 173 | void |
| 174 | GpuStatTimer::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 | |
| 185 | void |
| 186 | GpuStatTimer::setNormalize( bool norm ) |
nothing calls this directly
no outgoing calls
no test coverage detected