« 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
function
getElapsedTicks
():
int
public
function
getElapsedTime
(
int
$unit
= ?
):
float
public
function
getLastElapsedTicks
():
int
public
function
getLastElapsedTime
(
int
$unit
= ?
):
float
public
function
isRunning
():
bool
public
function
start
():
void
public
function
stop
():
void
/* 継承したメソッド */
public
static
function
HRTime\PerformanceCounter::getFrequency
():
int
public
static
function
HRTime\PerformanceCounter::getTicks
():
int
public
static
function
HRTime\PerformanceCounter::getTicksSince
(
int
$start
):
int
}
目次
HRTime\StopWatch::getElapsedTicks
— すべてのインターバルの経過ティック数を取得する
HRTime\StopWatch::getElapsedTime
— すべてのインターバルの経過時間を取得する
HRTime\StopWatch::getLastElapsedTicks
— 最後のインターバルの経過ティック数を取得する
HRTime\StopWatch::getLastElapsedTime
— 最後のインターバルの経過時間を取得する
HRTime\StopWatch::isRunning
— 計測が実行中かどうか
HRTime\StopWatch::start
— Start time measurement
HRTime\StopWatch::stop
— Stop time measurement
関連キーワード:
HRTime
StopWatch
PerformanceCounter
インターバル
経過
getElapsedTicks
start
static
getTicksSince
getElapsedTime
unit
float
getLastElapsedTicks
getLastElapsedTime
isRunning
stop
ティック
時間
最後
time
measurement
hrtime
概要
extends
継承
関連する関数・ページ:
hrtime-stopwatch.getelapsedtime
hrtime-stopwatch.getlastelapsedtime
book.hrtime
hrtime-stopwatch.getelapsedticks
hrtime-stopwatch.getlastelapsedticks
hrtime-stopwatch.stop