summaryrefslogtreecommitdiff
path: root/framework/Util
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Util')
-rw-r--r--framework/Util/TLogRouter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Util/TLogRouter.php b/framework/Util/TLogRouter.php
index 233fd373..e4293902 100644
--- a/framework/Util/TLogRouter.php
+++ b/framework/Util/TLogRouter.php
@@ -596,7 +596,7 @@ class TBrowserLogRoute extends TLogRoute
$response->write($this->renderHeader());
for($i=0,$n=count($logs);$i<$n;++$i)
{
- $timing['total'] = $logs[$i][3] - $first;
+ $timing['total'] = $logs[$i+1][3] - $first;
if ($i<$n-1)
$timing['delta'] = $logs[$i+1][3] - $logs[$i][3];
else