PHP 8.3.4 Released!

The HRTime\StopWatch class

(PECL hrtime >= 0.4.3)

简介

类摘要

class HRTime\StopWatch extends HRTime\PerformanceCounter {
/* 方法 */
public getElapsedTicks(): int
public getElapsedTime(int $unit = ?): float
public getLastElapsedTime(int $unit = ?): float
public isRunning(): bool
public start(): void
public stop(): void
/* 继承的方法 */
}

目录

add a note

User Contributed Notes

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