HRTime\PerformanceCounter::stop
HRTime\StopWatch::getElapsedTime
HRTime
PHP Manual
The HRTime\StopWatch class
(PECL hrtime >= 0.4.3)
Введение
Обзор классов
HRTime\StopWatch
extends
HRTime\PerformanceCounter
{
/* Методы */
public
float
getElapsedTime
([
integer
$unit
] )
public
float
getLastElapsedTime
([
integer
$unit
] )
/* Наследуемые методы */
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
)
}
Содержание
HRTime\StopWatch::getElapsedTime
— Get elapsed time for all intervals.
HRTime\StopWatch::getLastElapsedTime
— Get elapsed time for the last interval.
HRTime\PerformanceCounter::stop
HRTime\StopWatch::getElapsedTime
HRTime
PHP Manual