Total Complexity | 5 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
7 | class HRTimer extends AbstractTimer |
||
8 | { |
||
9 | public const VALUE_COEFFICIENT = HRTIMER_VALUE_COEFFICIENT; |
||
10 | |||
11 | /** @var bool */ |
||
12 | public static $ignoreVersionRestrictions = false; |
||
13 | |||
14 | /** |
||
15 | * @return int |
||
16 | */ |
||
17 | public function current(): int |
||
18 | { |
||
19 | return |
||
20 | (int)hrtime(true); |
||
21 | } |
||
22 | |||
23 | protected function checkEnvironment(): void |
||
38 | } |
||
39 | // @codeCoverageIgnoreEnd |
||
42 |