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
Requires
- bangpound/debugbar-service-provider: ~1.0@dev
- drufony/pimple-module: ~7.0@dev
This package is auto-updated.
Last update: 2024-12-12 03:58:14 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;