/** * Collects data from the console and performs various calculations on it before * displaying the console on screen. */ public function display() { $this->gatherConsoleData(); $this->gatherFileData(); $this->gatherMemoryData(); $this->gatherQueryData(); $this->gatherSpeedData(); Profiler_Display::display($this->output, $this->config); }
/** * Collects data from the console and performs various calculations on it before * displaying the console on screen. * * @param bool $return_as_string * * @return mixed */ public function display($return_as_string = FALSE) { $this->_gather_console_data(); $this->_gather_file_data(); $this->_gather_memory_data(); $this->_gather_query_data(); $this->_gather_speed_data(); return Profiler_Display::display($this->_output, $return_as_string); }