Basic usage
HRTime\PerformanceCounter::getElapsedTicks
HRTime
PHP Manual
The HRTime\PerformanceCounter class
(PECL hrtime >= 0.4.3)
Введение
Обзор классов
HRTime\PerformanceCounter
{
/* Методы */
public
int
getElapsedTicks
(
void
)
public
int
getFrequency
(
void
)
public
int
getLastElapsedTicks
(
void
)
public
bool
isRunning
(
void
)
public
void
start
(
void
)
public
void
stop
(
void
)
}
Содержание
HRTime\PerformanceCounter::getElapsedTicks
— Get elapsed ticks for all intervals.
HRTime\PerformanceCounter::getFrequency
— Timer frequency in ticks per second
HRTime\PerformanceCounter::getLastElapsedTicks
— Get elapsed ticks for the last interval.
HRTime\PerformanceCounter::isRunning
— Whether the measurement is running.
HRTime\PerformanceCounter::start
— Start time measurement
HRTime\PerformanceCounter::stop
— Stop time measurement
Basic usage
HRTime\PerformanceCounter::getElapsedTicks
HRTime
PHP Manual