Unclassified NewsBoard Code Reference

IDatabase.GetTime function

Get the total amount of time spent in queries so far

function IDatabase.GetTime ($factor = 1000, $decimals = 1);

Parameters:

factor  –  optional, default: 1000
(int) Factor to multiply the number of microseconds with. 1000 will return milliseconds
decimals  –  optional, default: 1
(int) Round to this number of decimals

Return value:

(float) time with specified precision

Member of class: IDatabase

Implementation file: unb_lib/database.lib.php, line 80

© 2006 Yves Goergen. Unclassified NewsBoard Homepage. Reference based on UNB unb.devel.20060128, dated 2006-01-28.