Basic usage
HRTime\PerformanceCounter::getFrequency
HRTime
PHP Manual
The HRTime\PerformanceCounter class
(PECL hrtime >= 0.4.3)
简介
类摘要
HRTime\PerformanceCounter
{
/* 方法 */
public
static
int
getFrequency
(
void
)
public
static
int
getTicks
(
void
)
public
static
int
getTicksSince
(
integer
$start
)
}
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
PHP Manual