public function testError4() { $this->setExpectedException('DZend_Chronometer_Exception'); $c = new DZend_Chronometer(); $c->start(); $c->stop(); $c->start(); $c->get(); }
protected function _insert($data) { $c = new DZend_Chronometer(); $c->start(); $ret = parent::insert($data); $c->stop(); $this->_logger->debug(get_class($this) . '::insert - ' . $c->get()); return $ret; }