The HRTime\StopWatch class

(PECL hrtime >= 0.4.3)

Introduction

Class synopsis

class HRTime\StopWatch extends HRTime\PerformanceCounter {
/* Methods */
public getElapsedTicks(): int
public getElapsedTime(int $unit = ?): float
public getLastElapsedTime(int $unit = ?): float
public isRunning(): bool
public start(): void
public stop(): void
/* Inherited methods */
}

Table of Contents