php[world] 2019 — 25 years of PHP

The HRTime\StopWatch class

(PECL hrtime >= 0.4.3)

Introdução

Sinopse da classe

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

Índice

add a note add a note

User Contributed Notes

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