daily pastebin goal
49%
SHARE
TWEET

Untitled

a guest Jan 20th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     function getDatabaseStatistics() {
  2.         $this->instance =& get_instance();
  3.         $time = 0;
  4.  
  5.         foreach ($this->instance->db->query_times as $query)
  6.             $time += $query;
  7.            
  8.         return array('time' => number_format($time * 1000, 2), 'queries' => count($this->instance->db->queries));
  9.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top