timer
in package
Static timer class, internal only!
Tags
Table of Contents
- $start : int
- Start micro time
- $stop : int
- Stop micro time
- cal() : int
- Calc diff, calls @see timer::stop if not called before
- start() : mixed
- Start timer
- stop() : mixed
- Stop timer
Properties
$start
Start micro time
private
static int
$start
= []
$stop
Stop micro time
private
static int
$stop
= []
Methods
cal()
Calc diff, calls @see timer::stop if not called before
public
static cal([string $which = 'sys' ]) : int
Parameters
- $which : string = 'sys'
Return values
int —start()
Start timer
public
static start([string $which = 'sys' ]) : mixed
Parameters
- $which : string = 'sys'
Return values
mixed —stop()
Stop timer
public
static stop([string $which = 'sys' ]) : mixed
Parameters
- $which : string = 'sys'