Share this page

# lr_end_timer

Stops a timer.

## C Language

    double lr_end_timer (merc_timer_handle_t timer);

Example: lr_end_timer | Informational Functions

## Java Language

    long lr.end_timer(long timer);

Example: lr.end_timer | Informational Functions | Java Syntax

## Arguments

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. The resolution depends on the runtime environment. The maximum resolution is a microsecond.

## Return Values

The function returns the elapsed time in seconds. In Java, the function returns the elapsed time in milliseconds.

## Parameterization

You cannot use standard parameterization for any arguments in 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: