private static function endLog() { //benchmark if (self::$afBenchmarksSums['GLOBAL'] == 0) { self::stopBench("GLOBAL"); } $fSum = 0; foreach (self::$afBenchmarksSums as $sName => $fElapsedTime) { $fSum += $fElapsedTime; self::log('(benchmark) SUM : ' . $sName . ' = ' . round($fElapsedTime, 3) . ' sec'); } self::log('(benchmark) SUMS TOTAL : ' . round($fSum, 3) . ' sec'); self::log('Memory Usage : ' . self::getMemoryUsage() . ' MB'); //context AnwEnv::writeDebug(); }