refactor: add threads to Total Cores information

main
Josue 4 years ago committed by Tsu-ba-me
parent ce539915a9
commit 92f53e8377
  1. 9
      striker-ui/components/CPU.tsx

@ -30,11 +30,10 @@ const CPU = ({ uuid }: { uuid: string }): JSX.Element => {
allocated={(cpuData.allocated / cpuData.cores) * 100}
/>
</Grid>
<Grid item xs={5}>
<BodyText text={`Total Cores: ${cpuData.cores}`} />
</Grid>
<Grid item xs={12}>
<BodyText text={`Threads: ${cpuData.threads}`} />
<Grid item xs={4}>
<BodyText
text={`Total Cores: ${cpuData.cores}c | ${cpuData.threads}t`}
/>
</Grid>
</Grid>
</Panel>

Loading…
Cancel
Save