HRTime\PerformanceCounter::stop
HRTime\StopWatch::getElapsedTime
HRTime
PHP Manual
La clase HRTime\StopWatch
(PECL hrtime >= 0.4.3)
Introducción
Sinopsis de la Clase
HRTime\StopWatch
extends
HRTime\PerformanceCounter
{
/* Métodos */
public
float
getElapsedTime
([
integer
$unit
] )
public
float
getLastElapsedTime
([
integer
$unit
] )
/* Métodos heredados */
public
int
HRTime\PerformanceCounter::getElapsedTicks
(
void
)
public
int
HRTime\PerformanceCounter::getFrequency
(
void
)
public
int
HRTime\PerformanceCounter::getLastElapsedTicks
(
void
)
public
bool
HRTime\PerformanceCounter::isRunning
(
void
)
public
void
HRTime\PerformanceCounter::start
(
void
)
public
void
HRTime\PerformanceCounter::stop
(
void
)
}
Tabla de contenidos
HRTime\StopWatch::getElapsedTime
— Obtener el tiempo transcurrido para todos los intervalos
HRTime\StopWatch::getLastElapsedTime
— Obtener el tiempo transcurrido para el último intervalo
HRTime\PerformanceCounter::stop
HRTime\StopWatch::getElapsedTime
HRTime
PHP Manual