pike.ida.liu.se
Search for
Home > Docs > Pike reference

[Top]
System

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 .

Module reference for Pike v7.8 release 116, 2008-12-31