@@ -147,7 +147,7 @@ const KernelUsage = (props: {
147
147
Timestamp: { kernelPoll . usage ?. timestamp ?. toLocaleString ( ) }
148
148
</ div >
149
149
< div className = "jp-kernelusage-separator" >
150
- CPU: { kernelPoll . usage ?. kernel_cpu . toFixed ( 1 ) }
150
+ CPU: { kernelPoll . usage ?. kernel_cpu }
151
151
</ div >
152
152
< div className = "jp-kernelusage-separator" >
153
153
Memory: { formatForDisplay ( kernelPoll . usage ?. kernel_memory ) }
@@ -164,19 +164,14 @@ const KernelUsage = (props: {
164
164
</ div >
165
165
< div className = "jp-kernelusage-separator" >
166
166
Available:{ ' ' }
167
- { formatForDisplay (
168
- kernelPoll . usage ?. host_virtual_memory . available
169
- ) }
167
+ { formatForDisplay ( kernelPoll . usage ?. host_virtual_memory . available ) }
170
168
</ div >
171
169
< div className = "jp-kernelusage-separator" >
172
- Free:{ ' ' }
173
- { formatForDisplay ( kernelPoll . usage ?. host_virtual_memory . free ) }
170
+ Free: { formatForDisplay ( kernelPoll . usage ?. host_virtual_memory . free ) }
174
171
</ div >
175
172
< div className = "jp-kernelusage-separator" >
176
173
Inactive:{ ' ' }
177
- { formatForDisplay (
178
- kernelPoll . usage ?. host_virtual_memory . inactive
179
- ) }
174
+ { formatForDisplay ( kernelPoll . usage ?. host_virtual_memory . inactive ) }
180
175
</ div >
181
176
< div className = "jp-kernelusage-separator" >
182
177
Percent: { kernelPoll . usage ?. host_virtual_memory . percent . toFixed ( 1 ) }
@@ -186,8 +181,7 @@ const KernelUsage = (props: {
186
181
{ formatForDisplay ( kernelPoll . usage ?. host_virtual_memory . total ) }
187
182
</ div >
188
183
< div className = "jp-kernelusage-separator" >
189
- Used:{ ' ' }
190
- { formatForDisplay ( kernelPoll . usage ?. host_virtual_memory . used ) }
184
+ Used: { formatForDisplay ( kernelPoll . usage ?. host_virtual_memory . used ) }
191
185
</ div >
192
186
< div className = "jp-kernelusage-separator" >
193
187
Wired:{ ' ' }
0 commit comments