123456789101112131415161718192021222324252627282930313233343536 |
- {% load i18n %}
- <table width="100%">
- <thead>
- <tr>
- <th>{% trans "Call" %}</th>
- <th>{% trans "TotTime" %}</th>
- <th>{% trans "Per" %}</th>
- <th>{% trans "CumTime" %}</th>
- <th>{% trans "Per" %}</th>
- <th>{% trans "Count" %}</th>
- </tr>
- </thead>
- <tbody>
- {% for call in func_list %}
- <!-- style="background:{{ call.background }}" -->
- <tr id="{{ call.id }}" class="djDebugProfileRow{% for parent_id in call.parent_ids %} djToggleDetails_{{ parent_id }}{% endfor %}" depth="{{ call.depth }}">
- <td>
- <div style="padding-left: {{ call.indent }}px;">
- {% if call.has_subfuncs %}
- <a class="djProfileToggleDetails djToggleSwitch" data-toggle-id="{{ call.id }}" data-toggle-open="+" data-toggle-close="-" href="javascript:void(0)">-</a>
- {% else %}
- <span class="djNoToggleSwitch"></span>
- {% endif %}
- <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.count }}</td>
- </tr>
- {% endfor %}
- </tbody>
- </table>
|