Rename CpuTab to a more general Engine
And make the CPU load visible
This commit is contained in:
parent
0f30d2273a
commit
307669f7c4
2 changed files with 6 additions and 1 deletions
|
@ -1,4 +1,8 @@
|
|||
<h1 class="text-lg font-bold">CPU</h1>
|
||||
<script>
|
||||
import { cpuPercentage } from './activities.js'
|
||||
</script>
|
||||
<h1 class="text-lg font-bold">Engine</h1>
|
||||
<p>CPU Load: <span class="font-bold">{$cpuPercentage}%</span></p>
|
||||
<p>WebVM is powered by CheerpX, a x86 virtualization engine in WebAssembly</p>
|
||||
<p>CheerpX can run securely run unmodified x86 binaries and libraries in the browser</p>
|
||||
<p>For more information: <a class="text-gray-300" href="https://cheerpx.io/" target="_blank">https://cheerpx.io</a></p>
|
||||
|
|
|
@ -2,3 +2,4 @@ import { writable } from 'svelte/store';
|
|||
|
||||
export const cpuActivity = writable(false);
|
||||
export const diskActivity = writable(false);
|
||||
export const cpuPercentage = writable(0);
|
||||
|
|
Loading…
Add table
Reference in a new issue