HRTime
PHP Manual

La classe HRTime\StopWatch

(PECL hrtime >= 0.4.3)

Introduction

Synopsis de la classe

HRTime\StopWatch extends HRTime\PerformanceCounter {
/* Méthodes */
public int getElapsedTicks ( void )
public float getElapsedTime ([ integer $unit ] )
public int getLastElapsedTicks ( void )
public float getLastElapsedTime ([ integer $unit ] )
public bool isRunning ( void )
public void start ( void )
public void stop ( void )
/* Méthodes héritées */
public static int HRTime\PerformanceCounter::getTicks ( void )
public static int HRTime\PerformanceCounter::getTicksSince ( int $start )
}

Sommaire


HRTime
PHP Manual