Share this page

# 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 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

Parameterization is not applicable to this function.

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: