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 IProfilerstartSection in interface IResultableProfilerpublic void startSection(java.util.function.Supplier<java.lang.String> nameSupplier)
startSection in interface IProfilerstartSection in interface IResultableProfilerpublic void endSection()
endSection in interface IProfilerendSection in interface IResultableProfilerpublic void endStartSection(java.lang.String name)
endStartSection in interface IProfilerendStartSection in interface IResultableProfilerpublic void endStartSection(java.util.function.Supplier<java.lang.String> nameSupplier)
endStartSection in interface IProfilerendStartSection in interface IResultableProfilerpublic IProfileResult getResults()
getResults in interface IResultableProfiler