Exemple #1
0
 private function dumpXhprofInfo($arrData)
 {
     $arrArgs = array();
     $arrArgs['xhprof'] = json_encode($arrData);
     $arrArgs['product'] = PRODUCT;
     $arrArgs['subsys'] = SUBSYS;
     $arrArgs['module'] = MODULE;
     $logStr = $this->getLogString($arrArgs);
     $strLogFileName = Bd_Log::getLogPath() . "/" . Bd_Log::getLogPrefix() . "/" . Bd_Log::getLogPrefix() . ".xhprof";
     return file_put_contents($strLogFileName, $logStr, FILE_APPEND);
 }