PHP 8.1.28 Released!

The HRTime\StopWatch class

(PECL hrtime >= 0.4.3)


Resumo da classe

class HRTime\StopWatch extends HRTime\PerformanceCounter {
/* Métodos */
public getElapsedTicks(): int
public getElapsedTime(int $unit = ?): float
public getLastElapsedTime(int $unit = ?): float
public isRunning(): bool
public start(): void
public stop(): void
/* Métodos herdados */


add a note

User Contributed Notes

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