public function getDebugSnapshot()
    {
        if ($this->useDebug) {
            return array(
                'microtime'             => microtime(true),
                'memory_get_usage'      => memory_get_usage($this->getLoggingConfig('realmemoryusage', false)),
                'memory_get_peak_usage' => memory_get_peak_usage($this->getLoggingConfig('realmemoryusage', false)),
                );
        } else {
            throw new PropelException('Should not get debug snapshot when not debugging');
        }
    }
public function getDebugSnapshot()
    {
        if ($this->useDebug) {
            return array(
                'microtime'             => microtime(true),
                'memory_get_usage'      => memory_get_usage($this->getLoggingConfig('realmemoryusage', false)),
                'memory_get_peak_usage' => memory_get_peak_usage($this->getLoggingConfig('realmemoryusage', false)),
                );
        } else {
            throw new PropelException('Should not get debug snapshot when not debugging');
        }
    }
public function getDebugSnapshot ( ) { if ( $ this -> useDebug ) { return array ( 'microtime' => microtime ( true ) , 'memory_get_usage' => memory_get_usage ( $ this -> getLoggingConfig ( 'realmemoryusage' , false ) ) , 'memory_get_peak_usage' => memory_get_peak_usage ( $ this -> getLoggingConfig ( 'realmemoryusage' , false ) ) , ) ; } else { throw new PropelException ( 'Should not get debug snapshot when not debugging' ) ; } }
Returns a snapshot of the current values of some functions useful in debugging.

@return array

@throws PropelException
Returns a snapshot of the current values of some functions useful in debugging .