From 03877250f2447a9edc5ba210125f6d11c2fbd1b4 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 19 Mar 2009 01:41:57 +0000 Subject: Updated kohana to r4091 --- kohana/libraries/Profiler.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'kohana/libraries/Profiler.php') diff --git a/kohana/libraries/Profiler.php b/kohana/libraries/Profiler.php index 9888baae..3c2a460d 100644 --- a/kohana/libraries/Profiler.php +++ b/kohana/libraries/Profiler.php @@ -133,7 +133,8 @@ class Profiler_Core { $table->add_column(); $table->add_column('kp-column kp-data'); $table->add_column('kp-column kp-data'); - $table->add_row(array('Benchmarks', 'Time', 'Memory'), 'kp-title', 'background-color: #FFE0E0'); + $table->add_column('kp-column kp-data'); + $table->add_row(array('Benchmarks', 'Time', 'Count', 'Memory'), 'kp-title', 'background-color: #FFE0E0'); $benchmarks = Benchmark::get(TRUE); @@ -146,7 +147,7 @@ class Profiler_Core { // Clean unique id from system benchmark names $name = ucwords(str_replace(array('_', '-'), ' ', str_replace(SYSTEM_BENCHMARK.'_', '', $name))); - $data = array($name, number_format($benchmark['time'], 3), number_format($benchmark['memory'] / 1024 / 1024, 2).'MB'); + $data = array($name, number_format($benchmark['time'], 3), $benchmark['count'], number_format($benchmark['memory'] / 1024 / 1024, 2).'MB'); $class = text::alternate('', 'kp-altrow'); if ($name == 'Total Execution') -- cgit v1.2.3