Extracted from Pike v8.0 release 28 as of 2015-09-20.
   

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.