2025-11-24 22:52:51 +03:00

14 lines
384 B
Java

/*
* Decompiled with CFR 0.152.
*/
package net.minecraft.util.profiling.jfr.stats;
import jdk.jfr.consumer.RecordedEvent;
public record CpuLoadStat(double jvm, double userJvm, double system) {
public static CpuLoadStat from(RecordedEvent event) {
return new CpuLoadStat(event.getFloat("jvmSystem"), event.getFloat("jvmUser"), event.getFloat("machineTotal"));
}
}