diff options
Diffstat (limited to 'system/libraries/Benchmark.php')
-rw-r--r-- | system/libraries/Benchmark.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/system/libraries/Benchmark.php b/system/libraries/Benchmark.php index b5a9a6526..4984bb158 100644 --- a/system/libraries/Benchmark.php +++ b/system/libraries/Benchmark.php @@ -47,7 +47,7 @@ class CI_Benchmark { {
$this->marker[$name] = microtime();
}
-
+
// --------------------------------------------------------------------
/**
@@ -80,13 +80,13 @@ class CI_Benchmark { {
$this->marker[$point2] = microtime();
}
-
+
list($sm, $ss) = explode(' ', $this->marker[$point1]);
list($em, $es) = explode(' ', $this->marker[$point2]);
return number_format(($em + $es) - ($sm + $ss), $decimals);
}
-
+
// --------------------------------------------------------------------
/**
|