PHP 8.1.2 Released!

La clase HRTime\StopWatch

(PECL hrtime >= 0.4.3)

Introducción

Sinopsis de la Clase

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

Tabla de contenidos

add a note add a note

User Contributed Notes

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