From 2ff2a6b6f948e6c12a2008393faaf59734704f57 Mon Sep 17 00:00:00 2001 From: Damien Metzger Date: Thu, 5 Sep 2013 17:27:48 +0200 Subject: [PATCH] // Profiling adapted to the new dashboard --- tools/profiling/Controller.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tools/profiling/Controller.php b/tools/profiling/Controller.php index e8adfbb00..de8b4d5ed 100644 --- a/tools/profiling/Controller.php +++ b/tools/profiling/Controller.php @@ -349,7 +349,9 @@ abstract class Controller extends ControllerCore $cache = Cache::retrieveAll(); $totalCacheSize = $this->sizeofvar($cache); - echo '

+ echo ' +
 
+
Load time: '.$this->displayLoadTimeColor($this->_time['display'] - $start_time, true).''; if (self::$_footer) @@ -362,6 +364,7 @@ abstract class Controller extends ControllerCore } echo ''; echo '
+
Hook processing: '.$this->displayLoadTimeColor($totalHookTime).' / '.$this->displayMemoryColor($totalHookMemoryUsage).'
    '; @@ -385,7 +388,6 @@ abstract class Controller extends ControllerCore echo '

    Total cache size (in Cache class): '.$this->displayMemoryColor($totalCacheSize).'
'; - echo '
'; echo '
@@ -514,7 +516,9 @@ abstract class Controller extends ControllerCore echo $i.' '.$file.'
'; $i++; } - echo '
'; + echo ' +
 
+ '; } }