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