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
ReturnType
HRTime\PerformanceCounter::getElapsedTicks
(
void
)
public
ReturnType
HRTime\PerformanceCounter::getFrequency
(
void
)
public
ReturnType
HRTime\PerformanceCounter::getLastElapsedTicks
(
void
)
public
ReturnType
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