Function duration
A duration (in decimal seconds) between two times which are the result of calls to microtime()
This simple function is used by the PgQuery class because the microtime function doesn't return a decimal time, so a simple subtraction is not sufficient.
Package: awl\PgQuery
Copyright: Catalyst IT Ltd, Morphoss Ltd http://www.morphoss.com/
License: GNU GPL v2 or later
Author: Andrew McMillan andrew@mcmillan.net.nz
Located at PgQuery.php
Copyright: Catalyst IT Ltd, Morphoss Ltd http://www.morphoss.com/
License: GNU GPL v2 or later
Author: Andrew McMillan andrew@mcmillan.net.nz
Located at PgQuery.php
microtime |
$t1 |
start time |
microtime |
$t2 |
end time |
float
|
difference |