PHP 7.4.0 alpha 3 Released

La classe HRTime\StopWatch

(PECL hrtime >= 0.4.3)

Introduction

Synopsis de la classe

HRTime\StopWatch extends HRTime\PerformanceCounter {
/* Méthodes */
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
/* Méthodes héritées */
public static HRTime\PerformanceCounter::getFrequency ( void ) : int
public static HRTime\PerformanceCounter::getTicks ( void ) : int
public static HRTime\PerformanceCounter::getTicksSince ( int $start ) : int
}

Sommaire

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top