Skip to content

Commit aede4bc

Browse files
author
Andrew
committed
Fix memory and volatility graph values
1 parent 467a545 commit aede4bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/org/cyberpwn/react/ui/ServerTab.java

+2
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,8 @@ public void push(GList<String> actions) {
442442

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

0 commit comments

Comments
 (0)