Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getDatabaseStatistics() {
- $this->instance =& get_instance();
- $time = 0;
- foreach ($this->instance->db->query_times as $query)
- $time += $query;
- return array('time' => number_format($time * 1000, 2), 'queries' => count($this->instance->db->queries));
- }
Add Comment
Please, Sign In to add comment