The HRTime\StopWatch class

(PECL hrtime >= 0.4.3)

简介

类摘要

HRTime\StopWatch extends HRTime\PerformanceCounter {
/* 方法 */
public getElapsedTicks ( void ) : int
public getElapsedTime ([ int $unit ] ) : float
public getLastElapsedTicks ( void ) : int
public getLastElapsedTime ([ int $unit ] ) : float
public isRunning ( void ) : bool
public start ( void ) : void
public stop ( void ) : void
/* 继承的方法 */
public static HRTime\PerformanceCounter::getFrequency ( void ) : int
public static HRTime\PerformanceCounter::getTicks ( void ) : int
public static HRTime\PerformanceCounter::getTicksSince ( int $start ) : int
}

Table of Contents

关注编程学问公众号