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} allocated={(cpuData.allocated / cpuData.cores) * 100}
/> />
</Grid> </Grid>
<Grid item xs={5}> <Grid item xs={4}>
<BodyText text={`Total Cores: ${cpuData.cores}`} /> <BodyText
</Grid> text={`Total Cores: ${cpuData.cores}c | ${cpuData.threads}t`}
<Grid item xs={12}> />
<BodyText text={`Threads: ${cpuData.threads}`} />
</Grid> </Grid>
</Grid> </Grid>
</Panel> </Panel>

Loading…
Cancel
Save