public static function maybeCreatePhetric() { if (!isset(self::$_instance)) { self::$_instance = new self(null, null, ''); } return self::$_instance; }
public function mark($value = null, $other = null) { if ($value === null && $this->defaultValue != false) { $value = $this->defaultValue; } if (is_null($other)) { $other = true; } Phetric_Sender::histogram($this->_name, $value, $other); }
public function mark($value = null, $other = null) { Phetric_Sender::timer($this->_name, $value); }