mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-04 01:39:35 +01:00
Fixes byte to MB conversion at the TPSPart
This commit is contained in:
parent
74dfa1c49c
commit
9e8cbf2787
@ -56,7 +56,7 @@ public class TPSPart extends RawData<TPSPart> {
|
||||
addValue("ramscatterweek", ramScatterWeek);
|
||||
|
||||
Runtime runtime = Runtime.getRuntime();
|
||||
addValue("maxram", (runtime.maxMemory() / (1024L * 1024L)));
|
||||
addValue("maxram", (runtime.maxMemory() / 1000000));
|
||||
|
||||
double averageTPSWeek = MathUtils.averageDouble(week.stream().map(TPS::getTps));
|
||||
double averageTPSDay = MathUtils.averageDouble(day.stream().map(TPS::getTps));
|
||||
|
Loading…
Reference in New Issue
Block a user