Sys/Time/Constant.pm untested

filter: Statementstmt n/a Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a SCAR -
1 package SPVM::Sys::Time::Constant;
2  
3 1;
4  
5 =head1 Name
6  
7 SPVM::Sys::Time::Constant - Constant Values for Time
8  
9 =head1 Usage
10  
11 use Sys::Time::Constant;
12  
13 =head1 Description
14  
15 C<Sys::Time::Constant> provides the methods for the constant values for the time manipulation.
16  
17 =head1 Class Methods
18  
19 =head2 CLOCKS_PER_SEC
20  
21 C<static method CLOCKS_PER_SEC : int ();>
22  
23 Gets the value of C<CLOCKS_PER_SEC>. If the value is not defined in this system, an exception is thrown with the C<eval_error_id> set to the basic type ID of L<Error::NotSupported|SPVM::Error::NotSupported> class.
24  
25 =head2 CLOCK_BOOTTIME
26  
27 C<static method CLOCK_BOOTTIME : int ();>
28  
29 Gets the value of C<CLOCK_BOOTTIME>. If the value is not defined in this system, an exception is thrown with the C<eval_error_id> set to the basic type ID of L<Error::NotSupported|SPVM::Error::NotSupported> class.
30  
31 =head2 CLOCK_HIGHRES
32  
33 C<static method CLOCK_HIGHRES : int ();>
34  
35 Gets the value of C<CLOCK_HIGHRES>. If the value is not defined in this system, an exception is thrown with the C<eval_error_id> set to the basic type ID of L<Error::NotSupported|SPVM::Error::NotSupported> class.
36  
37 =head2 CLOCK_MONOTONIC
38  
39 C<static method CLOCK_MONOTONIC : int ();>
40  
41 Gets the value of C<CLOCK_MONOTONIC>. If the value is not defined in this system, an exception is thrown with the C<eval_error_id> set to the basic type ID of L<Error::NotSupported|SPVM::Error::NotSupported> class.
42  
43 =head2 CLOCK_MONOTONIC_COARSE
44  
45 C<static method CLOCK_MONOTONIC_COARSE : int ();>
46  
47 Gets the value of C<CLOCK_MONOTONIC_COARSE>. If the value is not defined in this system, an exception is thrown with the C<eval_error_id> set to the basic type ID of L<Error::NotSupported|SPVM::Error::NotSupported> class.
48  
49 =head2 CLOCK_MONOTONIC_FAST
50  
51 C<static method CLOCK_MONOTONIC_FAST : int ();>
52  
53 Gets the value of C<CLOCK_MONOTONIC_FAST>. If the value is not defined in this system, an exception is thrown with the C<eval_error_id> set to the basic type ID of L<Error::NotSupported|SPVM::Error::NotSupported> class.
54  
55 =head2 CLOCK_MONOTONIC_PRECISE
56  
57 C<static method CLOCK_MONOTONIC_PRECISE : int ();>
58  
59 Gets the value of C<CLOCK_MONOTONIC_PRECISE>. If the value is not defined in this system, an exception is thrown with the C<eval_error_id> set to the basic type ID of L<Error::NotSupported|SPVM::Error::NotSupported> class.
60  
61 =head2 CLOCK_MONOTONIC_RAW
62  
63 C<static method CLOCK_MONOTONIC_RAW : int ();>
64  
65 Gets the value of C<CLOCK_MONOTONIC_RAW>. If the value is not defined in this system, an exception is thrown with the C<eval_error_id> set to the basic type ID of L<Error::NotSupported|SPVM::Error::NotSupported> class.
66  
67 =head2 CLOCK_PROCESS_CPUTIME_ID
68  
69 C<static method CLOCK_PROCESS_CPUTIME_ID : int ();>
70  
71 Gets the value of C<CLOCK_PROCESS_CPUTIME_ID>. If the value is not defined in this system, an exception is thrown with the C<eval_error_id> set to the basic type ID of L<Error::NotSupported|SPVM::Error::NotSupported> class.
72  
73 =head2 CLOCK_PROF
74  
75 C<static method CLOCK_PROF : int ();>
76  
77 Gets the value of C<CLOCK_PROF>. If the value is not defined in this system, an exception is thrown with the C<eval_error_id> set to the basic type ID of L<Error::NotSupported|SPVM::Error::NotSupported> class.
78  
79 =head2 CLOCK_REALTIME
80  
81 C<static method CLOCK_REALTIME : int ();>
82  
83 Gets the value of C<CLOCK_REALTIME>. If the value is not defined in this system, an exception is thrown with the C<eval_error_id> set to the basic type ID of L<Error::NotSupported|SPVM::Error::NotSupported> class.
84  
85 =head2 CLOCK_REALTIME_COARSE
86  
87 C<static method CLOCK_REALTIME_COARSE : int ();>
88  
89 Gets the value of C<CLOCK_REALTIME_COARSE>. If the value is not defined in this system, an exception is thrown with the C<eval_error_id> set to the basic type ID of L<Error::NotSupported|SPVM::Error::NotSupported> class.
90  
91 =head2 CLOCK_REALTIME_FAST
92  
93 C<static method CLOCK_REALTIME_FAST : int ();>
94  
95 Gets the value of C<CLOCK_REALTIME_FAST>. If the value is not defined in this system, an exception is thrown with the C<eval_error_id> set to the basic type ID of L<Error::NotSupported|SPVM::Error::NotSupported> class.
96  
97 =head2 CLOCK_REALTIME_PRECISE
98  
99 C<static method CLOCK_REALTIME_PRECISE : int ();>
100  
101 Gets the value of C<CLOCK_REALTIME_PRECISE>. If the value is not defined in this system, an exception is thrown with the C<eval_error_id> set to the basic type ID of L<Error::NotSupported|SPVM::Error::NotSupported> class.
102  
103 =head2 CLOCK_REALTIME_RAW
104  
105 C<static method CLOCK_REALTIME_RAW : int ();>
106  
107 Gets the value of C<CLOCK_REALTIME_RAW>. If the value is not defined in this system, an exception is thrown with the C<eval_error_id> set to the basic type ID of L<Error::NotSupported|SPVM::Error::NotSupported> class.
108  
109 =head2 CLOCK_SECOND
110  
111 C<static method CLOCK_SECOND : int ();>
112  
113 Gets the value of C<CLOCK_SECOND>. If the value is not defined in this system, an exception is thrown with the C<eval_error_id> set to the basic type ID of L<Error::NotSupported|SPVM::Error::NotSupported> class.
114  
115 =head2 CLOCK_SOFTTIME
116  
117 C<static method CLOCK_SOFTTIME : int ();>
118  
119 Gets the value of C<CLOCK_SOFTTIME>. If the value is not defined in this system, an exception is thrown with the C<eval_error_id> set to the basic type ID of L<Error::NotSupported|SPVM::Error::NotSupported> class.
120  
121 =head2 CLOCK_THREAD_CPUTIME_ID
122  
123 C<static method CLOCK_THREAD_CPUTIME_ID : int ();>
124  
125 Gets the value of C<CLOCK_THREAD_CPUTIME_ID>. If the value is not defined in this system, an exception is thrown with the C<eval_error_id> set to the basic type ID of L<Error::NotSupported|SPVM::Error::NotSupported> class.
126  
127 =head2 CLOCK_TIMEOFDAY
128  
129 C<static method CLOCK_TIMEOFDAY : int ();>
130  
131 Gets the value of C<CLOCK_TIMEOFDAY>. If the value is not defined in this system, an exception is thrown with the C<eval_error_id> set to the basic type ID of L<Error::NotSupported|SPVM::Error::NotSupported> class.
132  
133 =head2 CLOCK_UPTIME
134  
135 C<static method CLOCK_UPTIME : int ();>
136  
137 Gets the value of C<CLOCK_UPTIME>. If the value is not defined in this system, an exception is thrown with the C<eval_error_id> set to the basic type ID of L<Error::NotSupported|SPVM::Error::NotSupported> class.
138  
139 =head2 CLOCK_UPTIME_COARSE
140  
141 C<static method CLOCK_UPTIME_COARSE : int ();>
142  
143 Gets the value of C<CLOCK_UPTIME_COARSE>. If the value is not defined in this system, an exception is thrown with the C<eval_error_id> set to the basic type ID of L<Error::NotSupported|SPVM::Error::NotSupported> class.
144  
145 =head2 CLOCK_UPTIME_FAST
146  
147 C<static method CLOCK_UPTIME_FAST : int ();>
148  
149 Gets the value of C<CLOCK_UPTIME_FAST>. If the value is not defined in this system, an exception is thrown with the C<eval_error_id> set to the basic type ID of L<Error::NotSupported|SPVM::Error::NotSupported> class.
150  
151 =head2 CLOCK_UPTIME_PRECISE
152  
153 C<static method CLOCK_UPTIME_PRECISE : int ();>
154  
155 Gets the value of C<CLOCK_UPTIME_PRECISE>. If the value is not defined in this system, an exception is thrown with the C<eval_error_id> set to the basic type ID of L<Error::NotSupported|SPVM::Error::NotSupported> class.
156  
157 =head2 CLOCK_UPTIME_RAW
158  
159 C<static method CLOCK_UPTIME_RAW : int ();>
160  
161 Gets the value of C<CLOCK_UPTIME_RAW>. If the value is not defined in this system, an exception is thrown with the C<eval_error_id> set to the basic type ID of L<Error::NotSupported|SPVM::Error::NotSupported> class.
162  
163 =head2 CLOCK_VIRTUAL
164  
165 C<static method CLOCK_VIRTUAL : int ();>
166  
167 Gets the value of C<CLOCK_VIRTUAL>. If the value is not defined in this system, an exception is thrown with the C<eval_error_id> set to the basic type ID of L<Error::NotSupported|SPVM::Error::NotSupported> class.
168  
169 =head2 ITIMER_PROF
170  
171 C<static method ITIMER_PROF : int ();>
172  
173 Gets the value of C<ITIMER_PROF>. If the value is not defined in this system, an exception is thrown with the C<eval_error_id> set to the basic type ID of L<Error::NotSupported|SPVM::Error::NotSupported> class.
174  
175 =head2 ITIMER_REAL
176  
177 C<static method ITIMER_REAL : int ();>
178  
179 Gets the value of C<ITIMER_REAL>. If the value is not defined in this system, an exception is thrown with the C<eval_error_id> set to the basic type ID of L<Error::NotSupported|SPVM::Error::NotSupported> class.
180  
181 =head2 ITIMER_REALPROF
182  
183 C<static method ITIMER_REALPROF : int ();>
184  
185 Gets the value of C<ITIMER_REALPROF>. If the value is not defined in this system, an exception is thrown with the C<eval_error_id> set to the basic type ID of L<Error::NotSupported|SPVM::Error::NotSupported> class.
186  
187 =head2 ITIMER_VIRTUAL
188  
189 C<static method ITIMER_VIRTUAL : int ();>
190  
191 Gets the value of C<ITIMER_VIRTUAL>. If the value is not defined in this system, an exception is thrown with the C<eval_error_id> set to the basic type ID of L<Error::NotSupported|SPVM::Error::NotSupported> class.
192  
193 =head2 TIMER_ABSTIME
194  
195 C<static method TIMER_ABSTIME : int ();>
196  
197 Gets the value of C<TIMER_ABSTIME>. If the value is not defined in this system, an exception is thrown with the C<eval_error_id> set to the basic type ID of L<Error::NotSupported|SPVM::Error::NotSupported> class.
198  
199 =head1 See Also
200  
201 =over 2
202  
203 =item * L<Sys|SPVM::Sys>
204  
205 =back
206  
207 =head1 Copyright & License
208  
209 Copyright (c) 2023 Yuki Kimoto
210  
211 MIT License
212