« Basic usage
HRTime\PerformanceCounter::getFrequency »
PHP Manual
HRTime
The HRTime\PerformanceCounter class
The HRTime\PerformanceCounter class
(PECL hrtime >= 0.4.3)
Introduction
Class synopsis
HRTime\PerformanceCounter
{
/* Methods */
public
static
getFrequency
(
void
) :
int
public
static
getTicks
(
void
) :
int
public
static
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