Basic usage
HRTime\PerformanceCounter::getElapsedTicks
HRTime
PHP Manual
The HRTime\PerformanceCounter class
(PECL hrtime >= 0.4.3)
Introduction
Synopsis de la classe
HRTime\PerformanceCounter
{
/* Méthodes */
public
ReturnType
getElapsedTicks
(
void
)
public
ReturnType
getFrequency
(
void
)
public
ReturnType
getLastElapsedTicks
(
void
)
public
ReturnType
isRunning
(
void
)
public
void
start
(
void
)
public
void
stop
(
void
)
}
Sommaire
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