public function calculateTimings()
    {
        if ($this->_timings === null) {
            $this->_timings = Yii::getLogger()->calculateTimings(isset($this->data['messages']) ? $this->data['messages'] : []);
        }

        return $this->_timings;
    }
public function calculateTimings()
    {
        if ($this->_timings === null) {
            $this->_timings = Yii::getLogger()->calculateTimings(isset($this->data['messages']) ? $this->data['messages'] : []);
        }

        return $this->_timings;
    }
public function calculateTimings ( ) { if ( $ this -> _timings === null ) { $ this -> _timings = Yii :: getLogger ( ) -> calculateTimings ( isset ( $ this -> data [ 'messages' ] ) ? $ this -> data [ 'messages' ] : [ ] ) ; } return $ this -> _timings ; }
Calculates given request profile timings.

@return array timings [token, category, timestamp, traces, nesting level, elapsed time]
Calculates given request profile timings .