- Timestamp:
- 2012/03/20 00:54:28 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/test/createEcCubeCustomerData-v25.php
r21659 r21660 55 55 56 56 $objData = new CreateEcCubeCustomerData(); 57 $start = microtime _float();57 $start = microtime(true); 58 58 59 59 /* … … 71 71 //$objData->objQuery->rollback(); 72 72 //$objData->objQuery->commit(); 73 $end = microtime _float();73 $end = microtime(true); 74 74 /* 75 75 * Windowsのコマンドプロンプトで文字化けしないように、 … … 160 160 /** テスト用スクリプトのログ出力関数 */ 161 161 function lfPrintLog($mess) { 162 163 162 $path = DATA_REALDIR . "logs/" . basename(__FILE__, '.php') . ".log"; 163 GC_Utils::gfPrintLog($mess, $path); 164 164 } 165 166 /** PHP4対応のための microtime 関数 */167 function microtime_float() {168 list($usec, $sec) = explode(" ", microtime());169 return (float)$usec + (float)$sec;170 }171 172 ?>
Note: See TracChangeset
for help on using the changeset viewer.