public class Profiler extends java.lang.Object implements IResultableProfiler
Constructor and Description |
---|
Profiler(long p_i225707_1_,
java.util.function.IntSupplier p_i225707_3_,
boolean p_i225707_4_) |
Modifier and Type | Method and Description |
---|---|
void |
endSection() |
void |
endStartSection(java.lang.String name) |
void |
endStartSection(java.util.function.Supplier<java.lang.String> nameSupplier) |
void |
endTick() |
void |
func_230035_c_(java.lang.String p_230035_1_) |
void |
func_230036_c_(java.util.function.Supplier<java.lang.String> p_230036_1_) |
IProfileResult |
getResults() |
void |
startSection(java.lang.String name) |
void |
startSection(java.util.function.Supplier<java.lang.String> nameSupplier) |
void |
startTick() |
public Profiler(long p_i225707_1_, java.util.function.IntSupplier p_i225707_3_, boolean p_i225707_4_)
public void startSection(java.lang.String name)
startSection
in interface IProfiler
public void startSection(java.util.function.Supplier<java.lang.String> nameSupplier)
startSection
in interface IProfiler
public void endSection()
endSection
in interface IProfiler
public void endStartSection(java.lang.String name)
endStartSection
in interface IProfiler
public void endStartSection(java.util.function.Supplier<java.lang.String> nameSupplier)
endStartSection
in interface IProfiler
public void func_230035_c_(java.lang.String p_230035_1_)
func_230035_c_
in interface IProfiler
public void func_230036_c_(java.util.function.Supplier<java.lang.String> p_230036_1_)
func_230036_c_
in interface IProfiler
public IProfileResult getResults()
getResults
in interface IResultableProfiler