We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4130bb6 commit fb853b5Copy full SHA for fb853b5
src/widget.tsx
@@ -146,15 +146,15 @@ const KernelUsage = (props: {
146
Timestamp: {kernelPoll.usage?.timestamp?.toLocaleString()}
147
</div>
148
<div className="jp-kernelusage-separator">
149
- CPU: {kernelPoll.usage?.kernel_cpu}
+ CPU: {kernelPoll.usage?.kernel_cpu.toFixed(1)}
150
151
152
Memory: {kernelPoll.usage?.kernel_memory}
153
154
<hr></hr>
155
<h4 className="jp-kernelusage-separator">Host CPU</h4>
156
157
- Percentage {kernelPoll.usage?.host_cpu_percent}
+ Percentage {kernelPoll.usage?.host_cpu_percent.toFixed(1)}
158
159
<h4 className="jp-kernelusage-separator">Host Virtual Memory</h4>
160
0 commit comments