\ExecutionTime

A class to check the execution time of a script.

Create a new instance at the start of the area to time and then at the end, call setEnd(). You are not required to call setStart(), except in special cases.

Then, call toString() for a quick and easy screen print out of the time.

Summary

Methods
Properties
Constants
__construct()
setStart()
setEnd()
getExecuteTimeInSec()
getMicrotimeFloat()
toString()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$startTime
$endTime
N/A

Properties

$startTime

$startTime : 

Type

$endTime

$endTime : 

Type

Methods

__construct()

__construct() 

setStart()

setStart() 

setEnd()

setEnd() 

getExecuteTimeInSec()

getExecuteTimeInSec(  $precision = 4) 

Parameters

$precision

getMicrotimeFloat()

getMicrotimeFloat() 

toString()

toString()