public interface IProfile
| Modifier and Type | Method and Description |
|---|---|
void |
add(String name,
long duration) |
void |
clear() |
Map<String,ProfileBuckets<Integer>> |
getCounts() |
Map<String,ProfileBuckets<Long>> |
getMs() |
Map<String,Long> |
getTotalAvg() |
Map<String,Integer> |
getTotalCounts() |
static IProfile |
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) |
IProfile |
withPrefix(String prefix) |
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)
Map<String,ProfileBuckets<Long>> getMs()
Map<String,ProfileBuckets<Integer>> getCounts()
void clear()
Copyright © 2023. All rights reserved.