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::isRunning ( void )
public void HRTime\PerformanceCounter::start ( void )
public void HRTime\PerformanceCounter::stop ( void )
}

Table of Contents


HRTime
PHP Manual