Pike v8.1 release 6

Method System.getitimer()


Method getitimer

array(float) getitimer(int timer)

Description

Shows the state of the selected timer.

Returns
Array
float 0

The interval of the timer.

float 1

The value of the timer.

Parameter timer

One of ITIMER_REAL, ITIMER_VIRTUAL and ITIMER_PROF.