class Timer extends StaticBase

Execution timer class.

Can handle multiple timers

Methods

static StaticBase
getInstance()

Help find static instances loaded via services

static 
mark(string $label)

Mark a timer.

static float
check(string $label)

Check a timer, returns difference in seconds, or fractions thereof.

Details

in StaticBase at line 14
static StaticBase getInstance()

Help find static instances loaded via services

Return Value

StaticBase

at line 17
static mark(string $label)

Mark a timer.

Parameters

string $label

Exceptions

Exception if label is set

at line 31
static float check(string $label)

Check a timer, returns difference in seconds, or fractions thereof.

Parameters

string $label

Return Value

float