The HRTime\StopWatch class

(PECL hrtime >= 0.4.3)

简介

类摘要

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

Table of Contents

User Contributed Notes

There are no user contributed notes for this page.