Changeset 2774
- Timestamp:
- 06/09/08 10:42:37 (3 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/Profiler.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/Profiler.php
r2688 r2774 175 175 176 176 text::alternate(); 177 $total_time = 0;177 $total_time = $total_rows = 0; 178 178 foreach ($queries as $query) 179 179 { … … 182 182 $table->add_row($data, $class); 183 183 $total_time += $query['time']; 184 } 185 186 $data = array('Total: ' . count($queries), number_format($total_time, 3), ''); 184 $total_rows += $query['rows']; 185 } 186 187 $data = array('Total: ' . count($queries), number_format($total_time, 3), $total_rows); 187 188 $table->add_row($data, 'kp-totalrow'); 188 189 }
