nca_get_timer_interval

Oracle NCA Timer Functions

Returns the time in milliseconds until the specified timer times out.

int nca_get_timer_interval( int timer_number );
timer_number The position of the timer in the list or one of the Timer Number Constants. The first timer is 0. The last is the timer count -1.

nca_get_timer_interval returns the time in milliseconds until the specified timer times out.

Parameterization

Parameterization is not available for this function.

Example

This example show the use of nca_get_timer_interval.

int msecToTimeout[3];
msecToTimeout[0] = nca_get_timer_interval(NCA_TIMER_NEAREST);
msecToTimeout[1] = nca_get_timer_interval( 3);
msecToTimeout[2] = nca_get_timer_interval(NCA_TIMER_LAST);