Home | History | Annotate | Download | only in src

Lines Matching defs:elapsed

37   asr_uint32_t elapsed;
55 tmp->elapsed = 0;
69 * Starts the timer. This sets the reference time from which all new elapsed
70 * time are computed. This does not reset the elapsed time to 0. This is
110 timer->elapsed =
119 * Returns the timer elapsed time. If the Timer is in the stopped state,
122 * elapsed time since the last time PCPUTimerStart() was called.
124 ESR_ReturnCode PCPUTimerGetElapsed(PCPUTimer *timer, asr_uint32_t *elapsed)
126 if (timer == NULL || elapsed == NULL) return ESR_INVALID_ARGUMENT;
138 *elapsed = timer->elapsed +
144 *elapsed = timer->elapsed;
150 * Resets the elapsed time to 0 and resets the reference time of the Timer.
157 timer->elapsed = 0;
169 asr_uint32_t elapsed;
184 tmp->elapsed = 0;
198 * Starts the timer. This sets the reference time from which all new elapsed
199 * time are computed. This does not reset the elapsed time to 0. This is
216 * Returns the timer elapsed time. If the Timer is in the stopped state,
219 * elapsed time since the last time PCPUTimerStart() was called.
221 ESR_ReturnCode PCPUTimerGetElapsed(PCPUTimer *timer, asr_uint32_t *elapsed)
228 * Resets the elapsed time to 0 and resets the reference time of the Timer.