|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Benchmark
A collection of benchmarks that share a set of configuration parameters.
Method Summary | |
---|---|
double |
bytesToUnits(long bytes)
|
ConfiguredBenchmark |
createBenchmark(Map<String,String> parameterValues)
|
Map<String,Integer> |
getInstanceUnitNames()
|
Map<String,Integer> |
getMemoryUnitNames()
|
Map<String,Integer> |
getTimeUnitNames()
A mapping of units to their values. |
double |
instancesToUnits(long instances)
|
double |
nanosToUnits(double nanos)
Converts nanoseconds to the smallest unit defined in getTimeUnitNames() . |
Set<String> |
parameterNames()
|
Set<String> |
parameterValues(String parameterName)
|
Method Detail |
---|
Set<String> parameterNames()
Set<String> parameterValues(String parameterName)
ConfiguredBenchmark createBenchmark(Map<String,String> parameterValues)
Map<String,Integer> getTimeUnitNames()
Map<String,Integer> getInstanceUnitNames()
Map<String,Integer> getMemoryUnitNames()
double nanosToUnits(double nanos)
getTimeUnitNames()
.
double instancesToUnits(long instances)
double bytesToUnits(long bytes)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |