summaryrefslogtreecommitdiffstats
path: root/system/libraries/Benchmark.php
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-05-13 04:01:47 +0200
committerDerek Allard <derek.allard@ellislab.com>2008-05-13 04:01:47 +0200
commit0fd8f0201d843b0b4a2de614c9be2b060d1787fc (patch)
tree1a9dd3f534cd179a197392cc34fc5f3ce355f7c4 /system/libraries/Benchmark.php
parent459a8b8569f0a9ad68e928e7a3096923e6df0f2f (diff)
minor source formatting
Diffstat (limited to 'system/libraries/Benchmark.php')
-rw-r--r--system/libraries/Benchmark.php12
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