Ilość zapytań oraz czas ładowania... Jak to wykonać

<?php function sqlTime () { return (float)$arrTime[0].(float)$arrTime[1]; } ?>
<?php public function Query($query) { try { { throw new Exception('Pole zapytania jest puste i niemożna go wykonać'); } $this->queries++; $s_time = sqlTime(); $f_time = sqlTime(); $this->sqltime += ($f_time-$s_time); return $this->query; } catch (Exception $error) { } } ?>