drufony/debugbar-module

Debugbar integration for Drupal 7

Installs: 11

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Type:drupal-module

dev-master / 7.0.x-dev 2014-12-30 05:25 UTC

This package is auto-updated.

Last update: 2024-10-12 03:37:40 UTC


README

diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index 75a1a5d..1cc9d99 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -503,6 +503,7 @@ function timer_stop($name) {
 
   if (isset($timers[$name]['start'])) {
     $stop = microtime(TRUE);
+    $timers[$name]['measures'][] = array($name, $timers[$name]['start'], $stop);
     $diff = round(($stop - $timers[$name]['start']) * 1000, 2);
     if (isset($timers[$name]['time'])) {
       $timers[$name]['time'] += $diff;