Home | History | Annotate | Download | only in include

Lines Matching refs:timer

40  * Creates a new timer object.
42 * @param timer PTimer handle.
44 PORTABLE_API ESR_ReturnCode PTimerCreate(PTimer **timer);
47 * Destroys the timer object.
49 * @param timer PTimer handle.
51 PORTABLE_API ESR_ReturnCode PTimerDestroy(PTimer *timer);
54 * Starts the timer. This sets the reference time from which all new elapsed
56 * useful to pause the timer.
58 PORTABLE_API ESR_ReturnCode PTimerStart(PTimer *timer);
61 * Stops the timer.
63 PORTABLE_API ESR_ReturnCode PTimerStop(PTimer *timer);
66 * Returns the timer elapsed time. If the Timer is in the stopped state,
68 * Timer is in the started state, successive calls will return the elapsed
71 PORTABLE_API ESR_ReturnCode PTimerGetElapsed(PTimer *timer,
75 * Resets the elapsed time to 0 and resets the reference time of the Timer.
76 * This effectively reset the timer in the same state it was right after
79 PORTABLE_API ESR_ReturnCode PTimerReset(PTimer *timer);