public interface IProfile
| Modifier and Type | Method and Description |
|---|---|
void |
add(String name,
long duration) |
IProfileInfo |
mainProfileInfo() |
static IProfileBuilder |
makeProfileMap(INanoTime nanoTime) |
String |
print() |
<T> T |
profile(String name,
Supplier<T> fn) |
<T,E extends Exception> |
profileE(String name,
SupplierWithExceptionE<T,E> fn) |
void |
run(String name,
Runnable fn) |
<E extends Exception> |
runE(String name,
RunnableWithExceptionE<E> fn) |
static IProfileBuilder makeProfileMap(INanoTime nanoTime)
IProfileInfo mainProfileInfo()
String print()
<T,E extends Exception> T profileE(String name, SupplierWithExceptionE<T,E> fn) throws E extends Exception
E extends Exception<E extends Exception> void runE(String name, RunnableWithExceptionE<E> fn) throws E extends Exception
E extends Exceptionvoid add(String name, long duration)
Copyright © 2023. All rights reserved.