expTimer
extends expSubsystem
in package
This is the class expTimer This class allows a user to to determine execution time of code blocks.
Tags
Table of Contents
- $elapsed : mixed
- $endtime : mixed
- $starttime : mixed
- $timername : mixed
- __construct() : mixed
- __get() : null
- Generic magic method
- __isset() : bool
- Generic magic method
- __set() : mixed
- Generic magic method We MUST create/set non-existing properties for Exponent code to work
- __unset() : mixed
- Generic magic method
- clear() : mixed
- elapsed() : mixed
- getTimerName() : mixed
- mark() : mixed
- setTimerName() : mixed
- start() : mixed
- stop() : mixed
- _compute() : mixed
- _time() : mixed
Properties
$elapsed
public
mixed
$elapsed
= 0
$endtime
public
mixed
$endtime
= 0
$starttime
public
mixed
$starttime
= 0
$timername
public
mixed
$timername
= "Exponent Internal Timer"
Methods
__construct()
public
__construct([mixed $start = true ]) : mixed
Parameters
- $start : mixed = true
Return values
mixed —__get()
Generic magic method
public
__get( $property) : null
Parameters
Return values
null —__isset()
Generic magic method
public
__isset( $property) : bool
Parameters
Return values
bool —__set()
Generic magic method We MUST create/set non-existing properties for Exponent code to work
public
__set( $property, $value) : mixed
Parameters
Return values
mixed —__unset()
Generic magic method
public
__unset( $property) : mixed
Parameters
Return values
mixed —clear()
public
clear() : mixed
Return values
mixed —elapsed()
public
elapsed() : mixed
Return values
mixed —getTimerName()
public
getTimerName() : mixed
Return values
mixed —mark()
public
mark([mixed $reset = false ]) : mixed
Parameters
- $reset : mixed = false
Return values
mixed —setTimerName()
public
setTimerName(mixed $name) : mixed
Parameters
- $name : mixed
Return values
mixed —start()
public
start() : mixed
Return values
mixed —stop()
public
stop() : mixed
Return values
mixed —_compute()
private
_compute() : mixed
Return values
mixed —_time()
private
_time() : mixed