public function profiler($mode = 1)
    {
        if ($this->isDebug() && count($this->_bufferInfo) > 2 && $mode) {

            $mode = (int)$mode;

            if ($mode && self::isAjax()) {
                if ($mode & self::PROFILER_RENDER_TOTAL) {
                    $this->_profilerRenderTotal();
                }

            } else {
                if ($mode & self::PROFILER_RENDER_TABLE) {
                    $this->_profilerRenderTable();
                }

                if ($mode & self::PROFILER_RENDER_CHART) {
                    $this->_profilerRenderChart();
                }

                if ($mode & self::PROFILER_RENDER_TOTAL) {
                    $this->_profilerRenderTotal();
                }

                if ($mode & self::PROFILER_RENDER_ECHO) {
                    $this->_profilerRenderEcho();
                }
            }
        }
    }
public function profiler($mode = 1)
    {
        if ($this->isDebug() && count($this->_bufferInfo) > 2 && $mode) {

            $mode = (int)$mode;

            if ($mode && self::isAjax()) {
                if ($mode & self::PROFILER_RENDER_TOTAL) {
                    $this->_profilerRenderTotal();
                }

            } else {
                if ($mode & self::PROFILER_RENDER_TABLE) {
                    $this->_profilerRenderTable();
                }

                if ($mode & self::PROFILER_RENDER_CHART) {
                    $this->_profilerRenderChart();
                }

                if ($mode & self::PROFILER_RENDER_TOTAL) {
                    $this->_profilerRenderTotal();
                }

                if ($mode & self::PROFILER_RENDER_ECHO) {
                    $this->_profilerRenderEcho();
                }
            }
        }
    }
public function profiler ( $ mode = 1 ) { if ( $ this -> isDebug ( ) && count ( $ this -> _bufferInfo ) > 2 && $ mode ) { $ mode = ( int ) $ mode ; if ( $ mode && self :: isAjax ( ) ) { if ( $ mode & self :: PROFILER_RENDER_TOTAL ) { $ this -> _profilerRenderTotal ( ) ; } } else { if ( $ mode & self :: PROFILER_RENDER_TABLE ) { $ this -> _profilerRenderTable ( ) ; } if ( $ mode & self :: PROFILER_RENDER_CHART ) { $ this -> _profilerRenderChart ( ) ; } if ( $ mode & self :: PROFILER_RENDER_TOTAL ) { $ this -> _profilerRenderTotal ( ) ; } if ( $ mode & self :: PROFILER_RENDER_ECHO ) { $ this -> _profilerRenderEcho ( ) ; } } } }
Show profiler result
@param   int $mode Render mode
@return  JBDump
Show profiler result