Fixes byte to MB conversion at the TPSPart

This commit is contained in:
Fuzzlemann 2017-07-27 20:02:01 +02:00
parent 9e8cbf2787
commit 747592d688
2 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@ public class TPSPart extends RawData<TPSPart> {
addValue("ramscatterweek", ramScatterWeek);
Runtime runtime = Runtime.getRuntime();
addValue("maxram", (runtime.maxMemory() / 1000000));
addValue("maxram", runtime.maxMemory() / 1000000);
double averageTPSWeek = MathUtils.averageDouble(week.stream().map(TPS::getTps));
double averageTPSDay = MathUtils.averageDouble(day.stream().map(TPS::getTps));

View File

@ -1474,7 +1474,7 @@
},
scaleLabel: {
display: true,
labelString: 'Memory Usage (Mt)'
labelString: 'Memory Usage (MB)'
}
}],
xAxes: [{
@ -1573,7 +1573,7 @@
},
scaleLabel: {
display: true,
labelString: 'Memory Usage (Mt)'
labelString: 'Memory Usage (MB)'
}
}],
xAxes: [{