| 275 | } |
| 276 | |
| 277 | void GpuTimer::FinishCollection() |
| 278 | { |
| 279 | // retrieve all available timestamps |
| 280 | while (CollectData( m_nextRetrTs )) |
| 281 | { |
| 282 | if (++m_nextRetrTs == m_numTimeStamps) |
| 283 | { |
| 284 | m_nextRetrTs = 0; |
| 285 | } |
| 286 | } |
| 287 | } |
| 288 | |
| 289 | bool GpuTimer::CollectData( UINT idx, BOOL stall ) |
| 290 | { |
nothing calls this directly
no outgoing calls
no test coverage detected