Debian Codegraph @

source/tools/webservices/userreport/templates/reports/cpu.html

raw symbols SCIP
1 {% extends "reports/base.html" %}
2 {% load report_tags %}
3
4 {% block css %}
5 table.profile td {
6 line-height: inherit;
7 border-bottom: inherit;
8 padding: 0 1em 0 0.5em;
9 }
10 .treemarker {
11 color: #666;
12 font-family: monospace;
13 white-space: pre;
14 }
15 {% endblock %}
16
17 {% block title %}
18 CPU capabilities report
19 {% endblock %}
20
21 {% block heading %}
22 CPU capabilities
23 {% endblock %}
24
25 {% block content %}
26 <p>Based on data submitted by players of <a href="http://play0ad.com/">0 A.D.</a></p>
27
28 <p>See the <a href="{% url userreport.views.index %}">index page</a> for more stuff.</p>
29
30 <table>
31 <tr>
32 <th>OS
33 <th>Identifier
34 <th><abbr title="Vendor/Model/Family">V/M/F</abbr>
35 <th>Freq
36 <th><abbr title="Num packages &times; cores per package &times; logical processors per core = number of processors">Num procs</abbr>
37 <th>Caches (data/instruction/unified)
38 <th>TLBs
39 <th>Feature bits
40 <th>NUMA
41 {% for cpu,users in cpus|sortedcpuitems %}
42 <tr {% cycle 'class=alt' '' %}>
43 <td>{{ cpu.os }}
44 <td><nobr>{{ cpu.cpu_identifier }}</nobr>
45 <td>{{ cpu.x86_vendor }}/{{ cpu.x86_model }}/{{ cpu.x86_family }}
46 <td>{% if cpu.cpu_frequency = -1 %}{% else %}{{ cpu.cpu_frequency|cpufreqformat }}{% endif %}
47 <td>{{ cpu.cpu_numpackages }}&times;{{ cpu.cpu_coresperpackage }}&times;{{ cpu.cpu_logicalpercore }}&nbsp;=&nbsp;{{ cpu.cpu_numprocs }}
48 <td><nobr>{{ cpu.caches|join:"<br>" }}</nobr>
49 <td><nobr>{{ cpu.tlbs|join:"<br>" }}</nobr>
50 <td>{% for cap in cpu.caps|sort %}{% if cap in x86_cap_descs %}<abbr title="{{ x86_cap_descs|dictget:cap }}">{{ cap }}</abbr>{% else %}{{ cap }}{% endif %} {% endfor %}
51 <td>{% if cpu.numa_numnodes != 1 %}<nobr>
52 Nodes: {{ cpu.numa_numnodes }}<br>
53 Factor: {{ cpu.numa_factor|floatformat:3 }}<br>
54 Interleaved: {{ cpu.numa_interleaved }}
55 </nobr>{% endif %}
56 {% endfor %}
57 </table>
58 {% endblock %}