Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<HRTime\PerformanceCounterHRTime\PerformanceCounter::getTicks>
^HRTime\PerformanceCounterLast updated: Mon, 26 Oct 2026

HRTime\PerformanceCounter::getFrequency

(PECL hrtime >= 0.4.3)

HRTime\PerformanceCounter::getFrequency — Timer frequency in ticks per second

Description

public static function HRTime\PerformanceCounter::getFrequency(): int

Returns the timer frequency in ticks per second. This value is constant after the system start on almost any operating system.

Parameters

This function has no parameters.

Return Values

Returns int indicating the timer frequency.


<HRTime\PerformanceCounterHRTime\PerformanceCounter::getTicks>
^HRTime\PerformanceCounterLast updated: Mon, 26 Oct 2026