摘要:
php Timer 页面运行时间监测类,可按不同key监测不同的运行时间Timer.class.phpgetKey($key); $this->_start[$flag] = $this->getMicrotime(); } /** 记录结束时间 * @param String $key 标记 */ public function end($key=''){ $flag = $this->getKey($key); $this->_end[$flag] = $this->getMicrotime(); } /*... 阅读全文