-
public class GlobalBenchmarkA global holder of BenchmarkProfiler, allowing to register and retrieve BenchmarkProfiler implementation. This should only used by internal benchmarking.
-
-
Field Summary
Fields Modifier and Type Field Description public final static GlobalBenchmarkINSTANCE
-
Method Summary
Modifier and Type Method Description final Unitregister(BenchmarkProfiler benchmarkProfiler)Registers the implementation of BenchmarkProfiler. final BenchmarkProfilerget()Returns the BenchmarkProfiler registered. -
-
Method Detail
-
register
final Unit register(BenchmarkProfiler benchmarkProfiler)
Registers the implementation of BenchmarkProfiler.
-
get
final BenchmarkProfiler get()
Returns the BenchmarkProfiler registered.
-
-
-
-