Php/docs/class.hrtime-stopwatch

提供:Dev Guides
< Php
2020年12月14日 (月) 11:32時点におけるNotes (トーク | 投稿記録)による版 (autoload)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

(PECL hrtime >= 0.4.3)

はじめに

クラス概要


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

}

目次