Skip to content

Commit

Permalink
Fix memory and volatility graph values
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew committed Oct 22, 2020
1 parent 467a545 commit aede4bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/org/cyberpwn/react/ui/ServerTab.java
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,8 @@ public void push(GList<String> actions) {

public void push(GMap<String, Double> sample, String console) {
sample.put("rct", sample.get("rct") / 1000000.0);
sample.put("mah/s", sample.get("mah/s") / 1024D / 1024D);
sample.put("mem", sample.get("mem") / 1024 / 1024);
lastConsole = StringUtils.repeat("\n", 40) + console;
lastLog = StringUtils.repeat("\n", 40) + L.log;

Expand Down

0 comments on commit aede4bc

Please sign in to comment.