« HRTime\PerformanceCounter::getTicksSince
HRTime\StopWatch::getElapsedTicks »
PHP Manual
HRTime
The HRTime\StopWatch class
The HRTime\StopWatch class
(PECL hrtime >= 0.4.3)
はじめに
クラス概要
class
HRTime\StopWatch
extends
HRTime\PerformanceCounter
{
/* メソッド */
public
getElapsedTicks
():
int
public
getElapsedTime
(
int
$unit
= ?
):
float
public
getLastElapsedTicks
():
int
public
getLastElapsedTime
(
int
$unit
= ?
):
float
public
isRunning
():
bool
public
start
():
void
public
stop
():
void
/* 継承したメソッド */
public
static
HRTime\PerformanceCounter::getFrequency
():
int
public
static
HRTime\PerformanceCounter::getTicks
():
int
public
static
HRTime\PerformanceCounter::getTicksSince
(
int
$start
):
int
}
目次
HRTime\StopWatch::getElapsedTicks
— Get elapsed ticks for all intervals
HRTime\StopWatch::getElapsedTime
— Get elapsed time for all intervals
HRTime\StopWatch::getLastElapsedTicks
— Get elapsed ticks for the last interval
HRTime\StopWatch::getLastElapsedTime
— Get elapsed time for the last interval
HRTime\StopWatch::isRunning
— Whether the measurement is running
HRTime\StopWatch::start
— Start time measurement
HRTime\StopWatch::stop
— Stop time measurement
関連キーワード:
HRTime
,
StopWatch
,
public
,
int
,
PerformanceCounter
,
time
,
elapsed
,
Get
,
measurement
,
getElapsedTicks