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>
|
2024-05-28 18:44:29 -04:00
|
|
|
<li class="tabs-title">
|
|
|
|
<a href="#centaur">Centaur</a>
|
|
|
|
</li>
|
|
|
|
<li class="tabs-title">
|
|
|
|
<a href="#cyrix">Cyrix</a>
|
|
|
|
</li>
|
|
|
|
<li class="tabs-title">
|
|
|
|
<a href="#no_vendor">No Vendor String</a>
|
|
|
|
</li>
|
2022-11-03 10:46:44 -04:00
|
|
|
<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>Model</th>
|
2024-05-28 18:44:29 -04:00
|
|
|
<!--<th>Id</th>
|
|
|
|
<th>Arch</th>-->
|
|
|
|
{% if label == 'not_acquired' or label == 'others' %}
|
|
|
|
<th>Vendor String</th>
|
|
|
|
{% endif %}
|
2022-10-28 08:46:35 -04:00
|
|
|
<th>Socket(s)</th>
|
|
|
|
<th>Part Number</th>
|
|
|
|
<th>uArch</th>
|
|
|
|
<th>Code Name</th>
|
|
|
|
<th>Speed</th>
|
|
|
|
<th>C/T</th>
|
2024-05-28 18:44:29 -04:00
|
|
|
<th>Cache</th>
|
2022-10-28 08:46:35 -04:00
|
|
|
<th>Igp</th>
|
|
|
|
<th>Count</th>
|
|
|
|
<th>Usable</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>
|
2024-05-28 18:44:29 -04:00
|
|
|
<td>{{ cpu.brand.name }} {{ cpu.productLine }} | {{ cpu.model }}</td>
|
|
|
|
<!-- <td>{{ cpu.id }}</td>
|
|
|
|
<td>{{ cpu.architecture.value }}</td>-->
|
|
|
|
{% if label == 'not_acquired' or label == 'others' %}
|
|
|
|
<td>{% if cpu.vendorString %}{{ cpu.vendorString.value }}{% endif %}</td>
|
|
|
|
{% endif %}
|
2022-10-28 08:46:35 -04:00
|
|
|
<td>
|
|
|
|
<ul>
|
|
|
|
{% for socket in cpu.sockets %}
|
|
|
|
<li>{{ socket.name }}</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</td>
|
|
|
|
<td>{{ cpu.partNumber }}</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 %}
|
2024-05-28 18:44:29 -04:00
|
|
|
{{ cpu.L1uCount }}x {{ cpu.L1uSize }}KB {{ cpu.L1uWay }}-way<br />
|
2022-10-28 08:46:35 -04:00
|
|
|
{% endif %}
|
|
|
|
{% if cpu.L1cCount > 0 %}
|
2024-05-28 18:44:29 -04:00
|
|
|
L1d: {{ cpu.L1cCount }}x {{ cpu.L1dSize }}KB {{ cpu.L1dWay }}-way <br />
|
|
|
|
L1c: {{ cpu.L1dCount }}x {{ cpu.L1cSize }}KB {{ cpu.L1cWay }}-way <br />
|
2022-10-28 08:46:35 -04:00
|
|
|
{% endif %}
|
|
|
|
{% if cpu.L2Count > 0 %}
|
2024-05-28 18:44:29 -04:00
|
|
|
<br />L2: {{ cpu.L2Count }}x {{ cpu.L2Size }}KB {{ cpu.L2Way }}-way
|
2022-10-28 08:46:35 -04:00
|
|
|
{% endif %}
|
|
|
|
{% if cpu.L3Count > 0 %}
|
2024-05-28 18:44:29 -04:00
|
|
|
<br />L3: {{ cpu.L3Count }}x {{ cpu.L3Size }}KB {{ cpu.L3Way }}-way
|
2022-10-28 08:46:35 -04:00
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
<td>{{ cpu.igp }}</td>
|
|
|
|
<td>{{ cpu.count }}</td>
|
|
|
|
<td>{{ cpu.usable ? '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 %}
|