Index: trunk/core/kernel/utility/debugger.php =================================================================== diff -u -N -r8438 -r8586 --- trunk/core/kernel/utility/debugger.php (.../debugger.php) (revision 8438) +++ trunk/core/kernel/utility/debugger.php (.../debugger.php) (revision 8586) @@ -1072,12 +1072,14 @@ // we have sql & error count in toolbar, don't duplicate here $info = Array( 'Script Runtime' => 'PROFILE:script_runtime', + 'SQL\'s Runtime' => 'PROFILE_T:sql', ); } else { // toolbar not visible, then show sql & error count too $info = Array ( 'Script Runtime' => 'PROFILE:script_runtime', + 'SQL\'s Runtime' => 'PROFILE_T:sql', '-' => 'SEP:-', 'Notice / Warning' => 'PROFILE_TC:error_handling', 'SQLs Count' => 'PROFILE_TC:sql', @@ -1102,6 +1104,11 @@ $ret .= ''.$record_cell.$title.':'.$record_cell.''.$this->ProfilerTotalCount[$record_data].''; break; + case 'PROFILE_T': // profile total + $record_cell = ''; + $ret .= ''.$record_cell.$title.':'.$record_cell.''.sprintf('%.5f', $this->ProfilerTotals[$record_data]).' s'; + break; + case 'SEP': $ret .= ''; break;