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