Example #1
0
 public function testError4()
 {
     $this->setExpectedException('DZend_Chronometer_Exception');
     $c = new DZend_Chronometer();
     $c->start();
     $c->stop();
     $c->start();
     $c->get();
 }
Example #2
0
 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;
 }