-
public class GlobalBenchmarkA global holder of BenchmarkProfiler allowing registration and retrieval of BenchmarkProfiler and BenchmarkMeter implementations. 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 Unitregister(BenchmarkSdkUploads benchmarkSdkUploads)Registers the implementation of BenchmarkSdkUploads. final BenchmarkProfilergetProfiler()Returns the BenchmarkProfiler registered. final BenchmarkSdkUploadsgetBenchmarkSdkUploads()Returns the BenchmarkSdkUploads registered. final ExecutionTimercreateExecutionTimer(String track)Creates the appropriate ExecutionTimer. -
-
Method Detail
-
register
final Unit register(BenchmarkProfiler benchmarkProfiler)
Registers the implementation of BenchmarkProfiler.
-
register
final Unit register(BenchmarkSdkUploads benchmarkSdkUploads)
Registers the implementation of BenchmarkSdkUploads.
-
getProfiler
final BenchmarkProfiler getProfiler()
Returns the BenchmarkProfiler registered.
-
getBenchmarkSdkUploads
final BenchmarkSdkUploads getBenchmarkSdkUploads()
Returns the BenchmarkSdkUploads registered.
-
createExecutionTimer
final ExecutionTimer createExecutionTimer(String track)
Creates the appropriate ExecutionTimer.
-
-
-
-