« HRTime\PerformanceCounter::getTicksSince
HRTime\StopWatch::getElapsedTicks »
PHP Manual
HRTime
La clase HRTime\StopWatch
La clase HRTime\StopWatch
(PECL hrtime >= 0.4.3)
Introducción
Sinopsis de la Clase
HRTime\StopWatch
extends
HRTime\PerformanceCounter
{
/* Métodos */
public
getElapsedTicks
(
void
) :
int
public
getElapsedTime
([
integer
$unit
] ) :
float
public
getLastElapsedTicks
(
void
) :
int
public
getLastElapsedTime
([
integer
$unit
] ) :
float
public
isRunning
(
void
) :
bool
public
start
(
void
) :
void
public
stop
(
void
) :
void
/* Métodos heredados */
public
HRTime\PerformanceCounter::getFrequency
(
void
) :
int
public
static
HRTime\PerformanceCounter::getTicks
(
void
) :
int
public
static
HRTime\PerformanceCounter::getTicksSince
(
int
$start
) :
int
}
Tabla de contenidos
HRTime\StopWatch::getElapsedTicks
— Get elapsed ticks for all intervals
HRTime\StopWatch::getElapsedTime
— Obtener el tiempo transcurrido para todos los intervalos
HRTime\StopWatch::getLastElapsedTicks
— Get elapsed ticks for the last interval
HRTime\StopWatch::getLastElapsedTime
— Obtener el tiempo transcurrido para el último intervalo
HRTime\StopWatch::isRunning
— Whether the measurement is running
HRTime\StopWatch::start
— Start time measurement
HRTime\StopWatch::stop
— Stop time measurement