HRTime\PerformanceCounter::stop
HRTime\StopWatch::getElapsedTime
HRTime
PHP Manual
La classe HRTime\StopWatch
(PECL hrtime >= 0.4.3)
Introduction
Synopsis de la classe
HRTime\StopWatch
extends
HRTime\PerformanceCounter
{
/* Méthodes */
public
float
getElapsedTime
([
integer
$unit
] )
public
float
getLastElapsedTime
([
integer
$unit
] )
/* Méthodes héritées */
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
)
}
Sommaire
HRTime\StopWatch::getElapsedTime
— Récupère le temps écoulé pour tous les intervalles
HRTime\StopWatch::getLastElapsedTime
— Récupère le temps écoulé pour le dernier intervalle
HRTime\PerformanceCounter::stop
HRTime\StopWatch::getElapsedTime
HRTime
PHP Manual