Php/docs/class.hrtime-stopwatch

From Get docs

(PECL hrtime >= 0.4.3)

Introduction

Class synopsis


HRTime\StopWatch extends HRTime\PerformanceCounter {

/* Methods */

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

/* Inherited methods */

public static HRTime\PerformanceCounter::getFrequency ( ) : int

public static HRTime\PerformanceCounter::getTicks ( ) : int

public static HRTime\PerformanceCounter::getTicksSince ( int $start ) : int

}

Table of Contents