Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
System

Module System

Description

This module embodies common operating system calls, making them available to the Pike programmer.


Constant ITIMER_REAL

constant System.ITIMER_REAL

Description

Identifier for a timer that decrements in real time.

See also

setitimer , getitimer


Constant ITIMER_VIRTUAL

constant System.ITIMER_VIRTUAL

Description

Identifier for a timer that decrements only when the process is executing.

See also

setitimer , getitimer


Constant ITIMER_PROF

constant System.ITIMER_PROF

Description

Identifier for a timer that decrements both when the process is executing and when the system is executing on behalf of the process.

See also

setitimer , getitimer


Constant string

constant System.string

Description

This string constant tells whether or not the CPU time, returned by e.g. gethrvtime , is thread local or not. The value is "yes" if it is and "no" if it isn't. The value is also "no" if there is no thread support.

See also

gethrvtime , gauge


Constant int

constant System.int

Description

The resolution of the CPU time, returned by e.g. gethrvtime , in nanoseconds. It is -1 if the resolution isn't known.

See also

gethrvtime , gauge


Constant string

constant System.string

Description

This string constant identifies the internal interface used to get the CPU time. It is an implementation detail - see rusage.c for possible values and their meanings.

See also

gethrvtime , gauge


Constant string

constant System.string

Description

This string constant tells whether or not the high resolution real time returned by gethrtime , is monotonic or not. The value is "yes" if it is and "no" if it isn't.

Monotonic time is not affected by clock adjustments that might happen to keep the calendaric clock in synch. It's therefore more suited to measure time intervals in programs.

See also

gethrtime


Constant int

constant System.int

Description

The resolution of the real time returned by gethrtime , in nanoseconds. It is -1 if the resolution isn't known.

See also

gethrtime


Constant string

constant System.string

Description

This string constant identifies the internal interface used to get the high resolution real time. It is an implementation detail - see rusage.c for possible values and their meanings.

See also

gethrtime


Inherit _system

inherit _system : _system