Utility Functions and C Language Reference > Utility Functions: Java (lr.) > Alphabetical Listing > lr_start_timer


Starts a timer.

C Language

merc_timer_handle_t lr_start_timer ();
Example: lr_start_timer Informational Functions

Java Language

long lr.start_timer(); 
Example: lr.start_timer Informational Functions Java Syntax

lr_start_timer starts a timer that calculates the passage of time in seconds. The resolution depends on the run-time 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.