oshi:update to 6.1.3
This commit is contained in:
parent
571b3d68d3
commit
6d04ac1cda
2
pom.xml
2
pom.xml
|
@ -30,7 +30,7 @@
|
|||
<flatlaf-intellij-themes.version>2.0.1</flatlaf-intellij-themes.version>
|
||||
<hutool-all.version>5.7.21</hutool-all.version>
|
||||
<fastjson.version>1.2.79</fastjson.version>
|
||||
<oshi-core.version>6.1.2</oshi-core.version>
|
||||
<oshi-core.version>6.1.3</oshi-core.version>
|
||||
<jfreechart.version>1.5.3</jfreechart.version>
|
||||
</properties>
|
||||
|
||||
|
|
|
@ -309,7 +309,7 @@ public class CpuForm {
|
|||
totalFreq = divide.add(totalFreq);
|
||||
|
||||
}
|
||||
cpuForm.getFreqLabel().setText(String.valueOf(totalFreq.divide(new BigDecimal(4), 2, RoundingMode.HALF_UP)));
|
||||
cpuForm.getFreqLabel().setText(String.valueOf(totalFreq.divide(new BigDecimal(currentFreq.length), 2, RoundingMode.HALF_UP)));
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue