14 lines
285 B
Java
14 lines
285 B
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package net.minecraft.util.profiling.jfr.stats;
|
|
|
|
import jdk.jfr.consumer.RecordedEvent;
|
|
|
|
public record FpsStat(int fps) {
|
|
public static FpsStat from(RecordedEvent event, String field) {
|
|
return new FpsStat(event.getInt(field));
|
|
}
|
|
}
|
|
|