Basic usage
HRTime\PerformanceCounter::getElapsedTicks
HRTime
PHP Manual
The HRTime\PerformanceCounter class
(PECL hrtime >= 0.4.3)
Introduzione
Sommario dellla classe
HRTime\PerformanceCounter
{
/* Metodi */
public
int
getElapsedTicks
(
void
)
public
int
getFrequency
(
void
)
public
int
getLastElapsedTicks
(
void
)
public
bool
isRunning
(
void
)
public
void
start
(
void
)
public
void
stop
(
void
)
}
Indice dei contenuti
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