The HRTime\StopWatch class

Introduction

Class synopsis

HRTime\StopWatch
class HRTime\StopWatch extends HRTime\PerformanceCounter {
/* Methods */
public int getElapsedTicks()
public float getElapsedTime(int $unit = ?)
public int getLastElapsedTicks()
public float getLastElapsedTime(int $unit = ?)
public bool isRunning()
public void start()
public void stop()
/* Inherited methods */
public static int HRTime\PerformanceCounter::getFrequency()
public static int HRTime\PerformanceCounter::getTicks()
public static int HRTime\PerformanceCounter::getTicksSince(int $start)
}
Table of Contents