returns the number of milliseconds the timer has counted this function reset the timer
| 75 | // returns the number of milliseconds the timer has counted |
| 76 | // this function reset the timer |
| 77 | static double _QueryCtx_GetCountedMilliseconds |
| 78 | ( |
| 79 | QueryCtx *ctx |
| 80 | ) { |
| 81 | ASSERT(ctx != NULL); |
| 82 | |
| 83 | double ms = TIMER_GET_ELAPSED_MILLISECONDS(ctx->stats.timer); |
| 84 | |
| 85 | // resets the stage timer |
| 86 | simple_tic(ctx->stats.timer); |
| 87 | |
| 88 | return ms; |
| 89 | } |
| 90 | |
| 91 | // reads the stage timer and updates the current stage duration |
| 92 | static void _QueryCtx_UpdateStageDuration |
no test coverage detected