php8.5
Home/ Manual/ hrtime / hrtime-performancecounter/ HRTime\PerformanceCounter::getFrequency

HRTime\PerformanceCounter::getFrequency

PHP function Edit on GitHub ✎

(PECL hrtime >= 0.4.3)

Timer frequency in ticks per second

Description

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 Parameters

Return Values

Returns Integer indicating the timer frequency.

Source: reference/hrtime/hrtime-performancecounter/getfrequency.xml · from the official PHP manual (php/doc-en)