International PHP Conference Berlin 2023

The HRTime\StopWatch class

(PECL hrtime >= 0.4.3)



class HRTime\StopWatch extends HRTime\PerformanceCounter {
/* Methoden */
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
/* Geerbte Methoden */
public static HRTime\PerformanceCounter::getTicksSince(int $start): int


add a note

User Contributed Notes

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