Exemple #1
0
 public static function end($key)
 {
     if (!isset(self::$_profileInfo[$key])) {
         self::$_profileInfo[$key]['begin'] = 0;
         $logKey = "Profile End Not Exist";
         $logMsg = "[key:{$key}]";
         \Yii::info($logMsg, $logKey);
     }
     self::$_profileInfo[$key]['end'] = Timer::millitime();
 }