HRTime
PHP Manual

The HRTime\StopWatch class

(PECL hrtime >= 0.4.3)

Introduction

Class synopsis

HRTime\StopWatch extends HRTime\PerformanceCounter {
/* Methods */
public float getElapsedTime ([ integer $unit ] )
public float getLastElapsedTime ([ integer $unit ] )
/* Inherited methods */
public void HRTime\PerformanceCounter::start ( void )
public void HRTime\PerformanceCounter::stop ( void )
}

Table of Contents


HRTime
PHP Manual