diff options
| author | David Cramer | 2011-07-12 13:15:55 -0700 | 
|---|---|---|
| committer | David Cramer | 2011-07-12 13:15:55 -0700 | 
| commit | ed2cc66bf5dbd033057b2ae6782950e2b3b364fe (patch) | |
| tree | 8208823df480d9fbba012a2886837800ebfce8a3 /debug_toolbar/templates | |
| parent | 57e17792a7ab1f55248c6928949a8308f7873952 (diff) | |
| parent | cf82001f197288c9816c2d7adcc09c08205cfa42 (diff) | |
| download | django-debug-toolbar-ed2cc66bf5dbd033057b2ae6782950e2b3b364fe.tar.bz2 | |
Merge branch 'line_profiler_int' of git://github.com/dmclain/django-debug-toolbar into line_profiler_int
Diffstat (limited to 'debug_toolbar/templates')
| -rw-r--r-- | debug_toolbar/templates/debug_toolbar/panels/profiling.html | 19 | 
1 files changed, 14 insertions, 5 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/panels/profiling.html b/debug_toolbar/templates/debug_toolbar/panels/profiling.html index ebc91cc..ef42230 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/profiling.html +++ b/debug_toolbar/templates/debug_toolbar/panels/profiling.html @@ -4,10 +4,10 @@  	<thead>  		<tr>  			<th>{% trans "Call" %}</th> -			<th>{% trans "TotTime" %}</th> -			<th>{% trans "Per" %}</th>  			<th>{% trans "CumTime" %}</th>  			<th>{% trans "Per" %}</th> +			<th>{% trans "TotTime" %}</th> +			<th>{% trans "Per" %}</th>  			<th>{% trans "Count" %}</th>  		</tr>  	</thead> @@ -25,12 +25,21 @@  						<span class="stack">{{ call.func_std_string }}</span>  					</div>  				</td> -				<td>{{ call.tottime|floatformat:3 }}</td> -				<td>{{ call.tottime_per_call|floatformat:3 }}</td>  				<td>{{ call.cumtime|floatformat:3 }}</td>  				<td>{{ call.cumtime_per_call|floatformat:3 }}</td> +				<td>{{ call.tottime|floatformat:3 }}</td> +				<td>{{ call.tottime_per_call|floatformat:3 }}</td>  				<td>{{ call.count }}</td>  			</tr> +			{% if call.line_stats_text %} +			<tr> +				<td colspan='6'> +					<pre style='font-family:Courier, monospace'> +						{{ call.line_stats_text }} +					</pre> +				</td> +			</tr> +			{% endif %}  		{% endfor %}  	</tbody> -</table> +</table>
\ No newline at end of file  | 
