public function startAvg($block)
    {
        if ($this->enabled) {
            if (!isset($this->avgs[$block])) {
                $this->avgs[$block] = array();
                $this->avgs[$block]['count'] = 0;
                $this->avgs[$block]['total'] = 0;
            }

            $this->avgs[$block]['start'] = microtime(true);
            if (!isset($this->avgs[$block]['start-line'])) {
                $this->avgs[$block]['start-line'] = $this->getLineNumber();
            }

            // Initialise max and min time
            if (!isset($this->avgs[$block]['max-time'])) {
                $this->avgs[$block]['max-time'] = 0;
            }
            if (!isset($this->avgs[$block]['min-time'])) {
                $this->avgs[$block]['min-time'] = 9999;
            }
        }
    }