2022-10-27 11:55:16 -04:00
|
|
|
{% extends 'base.html.twig' %}
|
|
|
|
|
|
|
|
{% block title %}Cpu{% endblock %}
|
|
|
|
|
|
|
|
{% block body %}
|
2022-10-28 08:46:35 -04:00
|
|
|
<h2>CPUs</h2>
|
2022-10-27 11:55:16 -04:00
|
|
|
|
2022-10-28 08:46:35 -04:00
|
|
|
<div class="small callout primary">
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('cpu_new') }}">Add Cpu</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2022-10-27 11:55:16 -04:00
|
|
|
|
2022-11-03 10:46:44 -04:00
|
|
|
<ul
|
|
|
|
class="tabs"
|
|
|
|
data-deep-link="true"
|
|
|
|
data-update-history="true"
|
|
|
|
data-deep-link-smudge="true"
|
|
|
|
data-deep-link-smudge-delay="500"
|
|
|
|
data-tabs
|
|
|
|
id="classifications"
|
|
|
|
>
|
|
|
|
<li class="tabs-title is-active">
|
|
|
|
<a href="#not_acquired">On the Way</a>
|
|
|
|
</li>
|
|
|
|
<li class="tabs-title" aria-selected="true">
|
|
|
|
<a href="#amd">AMD</a>
|
|
|
|
</li>
|
|
|
|
<li class="tabs-title">
|
|
|
|
<a href="#intel">Intel</a>
|
|
|
|
</li>
|
|
|
|
<li class="tabs-title">
|
|
|
|
<a href="#others">Others</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<div class="tabs-content" data-tabs-content="classifications">
|
|
|
|
{% for label, cpus in all %}
|
|
|
|
<div class="tabs-panel {% if label == 'not_acquired' %}is-active{% endif %}" id="{{ label }}">
|
2022-10-28 08:46:35 -04:00
|
|
|
<table class="hover scroll sortable stack">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th> </th>
|
|
|
|
<th>Id</th>
|
|
|
|
<th>Arch</th>
|
|
|
|
<th>Model</th>
|
|
|
|
<th>Socket(s)</th>
|
|
|
|
<th>Part Number</th>
|
|
|
|
<th>Lot Number</th>
|
|
|
|
<th>uArch</th>
|
|
|
|
<th>Code Name</th>
|
|
|
|
<th>Speed</th>
|
|
|
|
<th>C/T</th>
|
|
|
|
<th>L1 Cache</th>
|
|
|
|
<th>L2 Cache</th>
|
|
|
|
<th>L3 Cache</th>
|
|
|
|
<th>Igp</th>
|
|
|
|
<th>Count</th>
|
|
|
|
<th>Usable</th>
|
|
|
|
<th>Received</th>
|
|
|
|
<th>Notes</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for cpu in cpus %}
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('cpu_show', {'id': cpu.id}) }}">
|
|
|
|
View 👁
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="{{ path('cpu_edit', {'id': cpu.id}) }}">
|
|
|
|
Edit <span class="edit-icon">✎</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</td>
|
|
|
|
<td>{{ cpu.id }}</td>
|
|
|
|
<td>{{ cpu.architecture.value }}</td>
|
|
|
|
<td>{{ cpu.brand.name }} {{ cpu.productLine }} {{ cpu.model }}</td>
|
|
|
|
<td>
|
|
|
|
<ul>
|
|
|
|
{% for socket in cpu.sockets %}
|
|
|
|
<li>{{ socket.name }}</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</td>
|
|
|
|
<td>{{ cpu.partNumber }}</td>
|
|
|
|
<td>{{ cpu.lotNumber }}</td>
|
|
|
|
<td>{{ cpu.microArchitecture }}</td>
|
|
|
|
<td>{{ cpu.codeName }}</td>
|
|
|
|
<td>
|
|
|
|
{{ cpu.baseSpeed }}
|
|
|
|
{% if cpu.boostSpeed > 0 %}
|
|
|
|
-{{ cpu.boostSpeed }}
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
<td>{{ cpu.cores }} / {{ cpu.threads }}</td>
|
|
|
|
<td>
|
|
|
|
{% if cpu.L1uCount > 0 %}
|
|
|
|
{{ cpu.L1uCount }}x {{ cpu.L1uSize }}KB {{ cpu.L1uWay }}-way
|
|
|
|
{% endif %}
|
|
|
|
{% if cpu.L1cCount > 0 %}
|
|
|
|
{{ cpu.L1cCount }}x {{ cpu.L1dSize }}KB {{ cpu.L1dWay }}-way data,
|
|
|
|
{{ cpu.L1dCount }}x {{ cpu.L1cSize }}KB {{ cpu.L1cWay }}-way instruction
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{% if cpu.L2Count > 0 %}
|
|
|
|
{{ cpu.L2Count }}x {{ cpu.L2Size }}KB {{ cpu.L2Way }}-way
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{% if cpu.L3Count > 0 %}
|
|
|
|
{{ cpu.L3Count }}x {{ cpu.L3Size }}KB {{ cpu.L3Way }}-way
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
<td>{{ cpu.igp }}</td>
|
|
|
|
<td>{{ cpu.count }}</td>
|
|
|
|
<td>{{ cpu.usable ? 'Yes' : 'No' }}</td>
|
|
|
|
<td>{{ cpu.received ? 'Yes' : 'No' }}</td>
|
|
|
|
<td>{{ cpu.notes }}</td>
|
2022-10-27 11:55:16 -04:00
|
|
|
</tr>
|
2022-10-28 08:46:35 -04:00
|
|
|
{% else %}
|
|
|
|
<tr>
|
|
|
|
<td colspan="33">no records found</td>
|
2022-10-27 11:55:16 -04:00
|
|
|
</tr>
|
2022-10-28 08:46:35 -04:00
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2022-11-03 10:46:44 -04:00
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
2022-10-27 11:55:16 -04:00
|
|
|
{% endblock %}
|