Starts a timer.

C Language

merc_timer_handle_t lr_start_timer ();
Example: lr_start_timerInformational Functions

Java Language

long lr.start_timer(); 
Example: lr.start_timerInformational FunctionsJava Syntax

lr_start_timer starts a timer that calculates the passage of time in seconds. The resolution depends on the runtime environment. The maximum resolution is a microsecond.

lr_start_timer returns a handle to the timer. Pass the handle to lr_end_timer to stop the timer.

Return Values

Returns merc_timer_handle_t, a handle to a timer.


Parameterization is not applicable to this function.