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

55 lines
1.0 KiB
Java

/*
* Decompiled with CFR 0.152.
*/
package net.minecraft.util.profiling;
import java.nio.file.Path;
import java.util.Collections;
import java.util.List;
import net.minecraft.util.profiling.ProfileResults;
import net.minecraft.util.profiling.ResultField;
public class EmptyProfileResults
implements ProfileResults {
public static final EmptyProfileResults EMPTY = new EmptyProfileResults();
private EmptyProfileResults() {
}
@Override
public List<ResultField> getTimes(String path) {
return Collections.emptyList();
}
@Override
public boolean saveResults(Path file) {
return false;
}
@Override
public long getStartTimeNano() {
return 0L;
}
@Override
public int getStartTimeTicks() {
return 0;
}
@Override
public long getEndTimeNano() {
return 0L;
}
@Override
public int getEndTimeTicks() {
return 0;
}
@Override
public String getProfilerResults() {
return "";
}
}