The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Name

SPVM::Sys::Time::Constant - Constant Values for Time

Usage

  use Sys::Time::Constant;

Description

Sys::Time::Constant provides the methods for the constant values for the time manipulation.

Class Methods

CLOCKS_PER_SEC

static method CLOCKS_PER_SEC : int ();

Gets the value of CLOCKS_PER_SEC. If the value is not defined in the system, an exception is thrown with the eval_error_id set to the basic type ID of the Error::NotSupported class.

CLOCK_BOOTTIME

static method CLOCK_BOOTTIME : int ();

Gets the value of CLOCK_BOOTTIME. If the value is not defined in the system, an exception is thrown with the eval_error_id set to the basic type ID of the Error::NotSupported class.

CLOCK_HIGHRES

static method CLOCK_HIGHRES : int ();

Gets the value of CLOCK_HIGHRES. If the value is not defined in the system, an exception is thrown with the eval_error_id set to the basic type ID of the Error::NotSupported class.

CLOCK_MONOTONIC

static method CLOCK_MONOTONIC : int ();

Gets the value of CLOCK_MONOTONIC. If the value is not defined in the system, an exception is thrown with the eval_error_id set to the basic type ID of the Error::NotSupported class.

CLOCK_MONOTONIC_COARSE

static method CLOCK_MONOTONIC_COARSE : int ();

Gets the value of CLOCK_MONOTONIC_COARSE. If the value is not defined in the system, an exception is thrown with the eval_error_id set to the basic type ID of the Error::NotSupported class.

CLOCK_MONOTONIC_FAST

static method CLOCK_MONOTONIC_FAST : int ();

Gets the value of CLOCK_MONOTONIC_FAST. If the value is not defined in the system, an exception is thrown with the eval_error_id set to the basic type ID of the Error::NotSupported class.

CLOCK_MONOTONIC_PRECISE

static method CLOCK_MONOTONIC_PRECISE : int ();

Gets the value of CLOCK_MONOTONIC_PRECISE. If the value is not defined in the system, an exception is thrown with the eval_error_id set to the basic type ID of the Error::NotSupported class.

CLOCK_MONOTONIC_RAW

static method CLOCK_MONOTONIC_RAW : int ();

Gets the value of CLOCK_MONOTONIC_RAW. If the value is not defined in the system, an exception is thrown with the eval_error_id set to the basic type ID of the Error::NotSupported class.

CLOCK_PROCESS_CPUTIME_ID

static method CLOCK_PROCESS_CPUTIME_ID : int ();

Gets the value of CLOCK_PROCESS_CPUTIME_ID. If the value is not defined in the system, an exception is thrown with the eval_error_id set to the basic type ID of the Error::NotSupported class.

CLOCK_PROF

static method CLOCK_PROF : int ();

Gets the value of CLOCK_PROF. If the value is not defined in the system, an exception is thrown with the eval_error_id set to the basic type ID of the Error::NotSupported class.

CLOCK_REALTIME

static method CLOCK_REALTIME : int ();

Gets the value of CLOCK_REALTIME. If the value is not defined in the system, an exception is thrown with the eval_error_id set to the basic type ID of the Error::NotSupported class.

CLOCK_REALTIME_COARSE

static method CLOCK_REALTIME_COARSE : int ();

Gets the value of CLOCK_REALTIME_COARSE. If the value is not defined in the system, an exception is thrown with the eval_error_id set to the basic type ID of the Error::NotSupported class.

CLOCK_REALTIME_FAST

static method CLOCK_REALTIME_FAST : int ();

Gets the value of CLOCK_REALTIME_FAST. If the value is not defined in the system, an exception is thrown with the eval_error_id set to the basic type ID of the Error::NotSupported class.

CLOCK_REALTIME_PRECISE

static method CLOCK_REALTIME_PRECISE : int ();

Gets the value of CLOCK_REALTIME_PRECISE. If the value is not defined in the system, an exception is thrown with the eval_error_id set to the basic type ID of the Error::NotSupported class.

CLOCK_REALTIME_RAW

static method CLOCK_REALTIME_RAW : int ();

Gets the value of CLOCK_REALTIME_RAW. If the value is not defined in the system, an exception is thrown with the eval_error_id set to the basic type ID of the Error::NotSupported class.

CLOCK_SECOND

static method CLOCK_SECOND : int ();

Gets the value of CLOCK_SECOND. If the value is not defined in the system, an exception is thrown with the eval_error_id set to the basic type ID of the Error::NotSupported class.

CLOCK_SOFTTIME

static method CLOCK_SOFTTIME : int ();

Gets the value of CLOCK_SOFTTIME. If the value is not defined in the system, an exception is thrown with the eval_error_id set to the basic type ID of the Error::NotSupported class.

CLOCK_THREAD_CPUTIME_ID

static method CLOCK_THREAD_CPUTIME_ID : int ();

Gets the value of CLOCK_THREAD_CPUTIME_ID. If the value is not defined in the system, an exception is thrown with the eval_error_id set to the basic type ID of the Error::NotSupported class.

CLOCK_TIMEOFDAY

static method CLOCK_TIMEOFDAY : int ();

Gets the value of CLOCK_TIMEOFDAY. If the value is not defined in the system, an exception is thrown with the eval_error_id set to the basic type ID of the Error::NotSupported class.

CLOCK_UPTIME

static method CLOCK_UPTIME : int ();

Gets the value of CLOCK_UPTIME. If the value is not defined in the system, an exception is thrown with the eval_error_id set to the basic type ID of the Error::NotSupported class.

CLOCK_UPTIME_COARSE

static method CLOCK_UPTIME_COARSE : int ();

Gets the value of CLOCK_UPTIME_COARSE. If the value is not defined in the system, an exception is thrown with the eval_error_id set to the basic type ID of the Error::NotSupported class.

CLOCK_UPTIME_FAST

static method CLOCK_UPTIME_FAST : int ();

Gets the value of CLOCK_UPTIME_FAST. If the value is not defined in the system, an exception is thrown with the eval_error_id set to the basic type ID of the Error::NotSupported class.

CLOCK_UPTIME_PRECISE

static method CLOCK_UPTIME_PRECISE : int ();

Gets the value of CLOCK_UPTIME_PRECISE. If the value is not defined in the system, an exception is thrown with the eval_error_id set to the basic type ID of the Error::NotSupported class.

CLOCK_UPTIME_RAW

static method CLOCK_UPTIME_RAW : int ();

Gets the value of CLOCK_UPTIME_RAW. If the value is not defined in the system, an exception is thrown with the eval_error_id set to the basic type ID of the Error::NotSupported class.

CLOCK_VIRTUAL

static method CLOCK_VIRTUAL : int ();

Gets the value of CLOCK_VIRTUAL. If the value is not defined in the system, an exception is thrown with the eval_error_id set to the basic type ID of the Error::NotSupported class.

ITIMER_PROF

static method ITIMER_PROF : int ();

Gets the value of ITIMER_PROF. If the value is not defined in the system, an exception is thrown with the eval_error_id set to the basic type ID of the Error::NotSupported class.

ITIMER_REAL

static method ITIMER_REAL : int ();

Gets the value of ITIMER_REAL. If the value is not defined in the system, an exception is thrown with the eval_error_id set to the basic type ID of the Error::NotSupported class.

ITIMER_REALPROF

static method ITIMER_REALPROF : int ();

Gets the value of ITIMER_REALPROF. If the value is not defined in the system, an exception is thrown with the eval_error_id set to the basic type ID of the Error::NotSupported class.

ITIMER_VIRTUAL

static method ITIMER_VIRTUAL : int ();

Gets the value of ITIMER_VIRTUAL. If the value is not defined in the system, an exception is thrown with the eval_error_id set to the basic type ID of the Error::NotSupported class.

TIMER_ABSTIME

static method TIMER_ABSTIME : int ();

Gets the value of TIMER_ABSTIME. If the value is not defined in the system, an exception is thrown with the eval_error_id set to the basic type ID of the Error::NotSupported class.

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License