Module System
- Description
This module embodies common operating system calls, making them available to the Pike programmer.
- Constant
CPU_TIME_IMPLEMENTATION
constant
string
System.CPU_TIME_IMPLEMENTATION
- 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
CPU_TIME_IS_THREAD_LOCAL
constant
string
System.CPU_TIME_IS_THREAD_LOCAL
- 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
CPU_TIME_RESOLUTION
constant
int
System.CPU_TIME_RESOLUTION
- 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
HKEY_CLASSES_ROOT
Constant HKEY_LOCAL_MACHINE
Constant HKEY_CURRENT_USER
Constant HKEY_USERS
constant
int
System.HKEY_CLASSES_ROOT
constant
int
System.HKEY_LOCAL_MACHINE
constant
int
System.HKEY_CURRENT_USER
constant
int
System.HKEY_USERS
- Description
Root handles in the Windows registry.
- Note
These constants are only available on Win32 systems.
- See also
- 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
- Constant
ITIMER_REAL
constant
System.ITIMER_REAL
- Description
Identifier for a timer that decrements in real time.
- See also
- Constant
ITIMER_VIRTUAL
constant
System.ITIMER_VIRTUAL
- Description
Identifier for a timer that decrements only when the process is executing.
- See also
- Constant
REAL_TIME_IMPLEMENTATION
constant
string
System.REAL_TIME_IMPLEMENTATION
- 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
- Constant
REAL_TIME_IS_MONOTONIC
constant
string
System.REAL_TIME_IS_MONOTONIC
- 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