# La classe HRTime\StopWatch

(PECL hrtime >= 0.4.3)

## Introduction

## Synopsis de la classe

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

## Sommaire

- HRTime\StopWatch::getElapsedTicks — Get elapsed ticks for all intervals
- HRTime\StopWatch::getElapsedTime — Récupère le temps écoulé pour tous les intervalles
- HRTime\StopWatch::getLastElapsedTicks — Get elapsed ticks for the last interval
- HRTime\StopWatch::getLastElapsedTime — Récupère le temps écoulé pour la dernière intervalle
- HRTime\StopWatch::isRunning — Whether the measurement is running
- HRTime\StopWatch::start — Start time measurement
- HRTime\StopWatch::stop — Stop time measurement