Stops a timer.
double lr_end_timer (merc_timer_handle_t timer);
Example: lr_end_timer | Informational Functions |
long lr.end_timer(long timer);
Example: lr.end_timer | Informational Functions | Java Syntax |
Name | Comments |
---|---|
timer | The handle of the timer returned by lr_start_timer. |
lr_end_timer stops a timer that began timing when lr_start_timer was called. It returns the elapsed time in seconds. The resolution depends on the run-time environment. The maximum resolution is a microsecond.
The function returns the elapsed time in seconds.
You cannot use standard parameterization for any arguments in this function.