diff options
Diffstat (limited to 'system/libraries/Benchmark.php')
-rw-r--r-- | system/libraries/Benchmark.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/system/libraries/Benchmark.php b/system/libraries/Benchmark.php index f83e86482..899350bf7 100644 --- a/system/libraries/Benchmark.php +++ b/system/libraries/Benchmark.php @@ -70,23 +70,23 @@ class CI_Benchmark { {
return '{elapsed_time}';
}
-
+
if (! isset($this->marker[$point1]))
{
return '';
}
-
+
if (! isset($this->marker[$point2]))
{
$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);
}
-
+
// --------------------------------------------------------------------
/**
@@ -108,6 +108,6 @@ class CI_Benchmark { }
// END CI_Benchmark class
- -/* End of file Benchmark.php */ +
+/* End of file Benchmark.php */
/* Location: ./system/libraries/Benchmark.php */
\ No newline at end of file |