@@ -11,7 +11,7 @@ |
||
| 11 | 11 | * @param string $class The fully-qualified class name. |
| 12 | 12 | * @return void |
| 13 | 13 | */ |
| 14 | -spl_autoload_register(function ($class) { |
|
| 14 | +spl_autoload_register(function($class) { |
|
| 15 | 15 | |
| 16 | 16 | // project-specific namespace prefix |
| 17 | 17 | //$prefix = 'Foo\\Bar\\'; |
@@ -3,8 +3,8 @@ |
||
| 3 | 3 | // |
| 4 | 4 | // Set the error reporting. |
| 5 | 5 | // |
| 6 | -error_reporting(-1); // Report all type of errors |
|
| 7 | -ini_set('output_buffering', 0); // Do not buffer outputs, write directly |
|
| 6 | +error_reporting(-1); // Report all type of errors |
|
| 7 | +ini_set('output_buffering', 0); // Do not buffer outputs, write directly |
|
| 8 | 8 | |
| 9 | 9 | // |
| 10 | 10 | // Get required files |
@@ -79,7 +79,7 @@ |
||
| 79 | 79 | $duration = round($val['duration'], $this->precision); |
| 80 | 80 | $percent = round(($when) / $totalDuration * 100); |
| 81 | 81 | $memory = round($val['memory'] / 1024 / 1024, 2); |
| 82 | - $peak = isset($val['memory-peak']) ? round($val['memory-peak'] / 1024 / 1024, 2): 0; |
|
| 82 | + $peak = isset($val['memory-peak']) ? round($val['memory-peak'] / 1024 / 1024, 2) : 0; |
|
| 83 | 83 | $when = round($when, $this->precision); |
| 84 | 84 | $html .= "<tr><td>{$val['domain']}</td><td>{$val['where']}</td><td{$right}>{$when}</td><td{$right}>{$duration}</td><td{$right}>{$percent}</td><td{$right}>{$memory}</td><td{$right}>{$peak}</td><td>{$val['comment']}</td></tr>"; |
| 85 | 85 | @$total['domain'][$val['domain']] += $val['duration']; |