Module System
- Description
This module embodies common operating system calls, making them available to the Pike programmer.
- Constant
CPU_TIME_IMPLEMENTATION
constantstringSystem.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
constantstringSystem.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
constantintSystem.CPU_TIME_RESOLUTION- Description
The resolution of the CPU time, returned by e.g. gethrvtime, in nanoseconds. It is
-1if the resolution isn't known.- See also
gethrvtime,
gauge
- Constant
HKEY_CLASSES_ROOT
Constant HKEY_LOCAL_MACHINE
Constant HKEY_CURRENT_USER
Constant HKEY_USERS
constantintSystem.HKEY_CLASSES_ROOT
constantintSystem.HKEY_LOCAL_MACHINE
constantintSystem.HKEY_CURRENT_USER
constantintSystem.HKEY_USERS- Description
Root handles in the Windows registry.
- Note
These constants are only available on Win32 systems.
- See also
- Constant
ITIMER_PROF
constantSystem.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
constantSystem.ITIMER_REAL- Description
Identifier for a timer that decrements in real time.
- See also
- Constant
ITIMER_VIRTUAL
constantSystem.ITIMER_VIRTUAL- Description
Identifier for a timer that decrements only when the process is executing.
- See also
- Constant
REAL_TIME_IMPLEMENTATION
constantstringSystem.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
constantstringSystem.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