mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-21 05:50:18 +08:00
Fixes byte to MB conversion at the TPSPart
This commit is contained in:
parent
9e8cbf2787
commit
747592d688
@ -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));
|
||||
|
@ -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: [{
|
||||
|
Loading…
Reference in New Issue
Block a user