Skip to content

Commit

Permalink
oshi:update to 6.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
rememberber committed Feb 22, 2022
1 parent 571b3d6 commit 6d04ac1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/luoboduner/moo/info/ui/form/CpuForm.java
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ private static void initPcfInfo() {
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)));

}

Expand Down

0 comments on commit 6d04ac1

Please sign in to comment.