Basic usage
HRTime\PerformanceCounter::getElapsedTicks
HRTime
PHP Manual
The HRTime\PerformanceCounter class
(PECL hrtime >= 0.4.3)
Introducción
Sinopsis de la Clase
HRTime\PerformanceCounter
{
/* Métodos */
public
ReturnType
getElapsedTicks
(
void
)
public
ReturnType
getFrequency
(
void
)
public
ReturnType
getLastElapsedTicks
(
void
)
public
ReturnType
isRunning
(
void
)
public
void
start
(
void
)
public
void
stop
(
void
)
}
Tabla de contenidos
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