public class EmptyProfiler extends java.lang.Object implements IResultableProfiler
Modifier and Type | Field and Description |
---|---|
static EmptyProfiler |
INSTANCE |
Constructor and Description |
---|
EmptyProfiler() |
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() |
IProfileResult |
getResults() |
void |
startSection(java.lang.String name) |
void |
startSection(java.util.function.Supplier<java.lang.String> nameSupplier) |
void |
startTick() |
public static final EmptyProfiler INSTANCE
public void startSection(java.lang.String name)
startSection
in interface IProfiler
startSection
in interface IResultableProfiler
public void startSection(java.util.function.Supplier<java.lang.String> nameSupplier)
startSection
in interface IProfiler
startSection
in interface IResultableProfiler
public void endSection()
endSection
in interface IProfiler
endSection
in interface IResultableProfiler
public void endStartSection(java.lang.String name)
endStartSection
in interface IProfiler
endStartSection
in interface IResultableProfiler
public void endStartSection(java.util.function.Supplier<java.lang.String> nameSupplier)
endStartSection
in interface IProfiler
endStartSection
in interface IResultableProfiler
public IProfileResult getResults()
getResults
in interface IResultableProfiler