Home
My Account
About us
Products
Support Services
Buy online
Downloads
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
PHP Manual
HRTime
Installing/Configuring
Examples
HRTime\PerformanceCounter
HRTime\StopWatch
HRTime\Unit
Basic usage
HRTime\PerformanceCounter::getFrequency
HRTime
Last updated: Mon, 26 Oct 2026
The HRTime\PerformanceCounter class
(PECL hrtime >= 0.4.3)
Introduction
Class synopsis
class
HRTime\PerformanceCounter
{
/* Methods */
public
static
function
getFrequency
():
int
public
static
function
getTicks
():
int
public
static
function
getTicksSince
(
int
$start
):
int
}
Table of Contents
HRTime\PerformanceCounter::getFrequency
— Timer frequency in ticks per second
HRTime\PerformanceCounter::getTicks
— Current ticks from the system
HRTime\PerformanceCounter::getTicksSince
— Ticks elapsed since the given value
Basic usage
HRTime\PerformanceCounter::getFrequency
HRTime
Last updated: Mon, 26 Oct 2026