Package inca :: Module PerformanceReporter :: Class PerformanceBenchmark
[hide private]
[frames] | no frames]

Class PerformanceBenchmark

source code

PerformanceBenchmark - Convenience class for managing a benchmark entry

Convenience class for the PerformanceReporter module. Manages a single benchmark entry.

Instance Methods [hide private]
 
__init__(self)
Class constructor that returns a new PerformanceBenchmark object.
source code
 
getParameter(self, name) source code
 
getStatistic(self, name) source code
 
parameterNames(self) source code
 
setParameter(self, name, value, units=None)
Sets a parameter that was used to obtain the benchmark.
source code
 
setStatistic(self, name, value, units=None)
Sets a statistic that was obtained for the benchmark.
source code
 
statisticNames(self) source code
Method Details [hide private]

setParameter(self, name, value, units=None)

source code 

Sets a parameter that was used to obtain the benchmark. name is a unique identifier for this parameter and value its value. The optional units describes a scalar value (e.g., Gb/s, secs, etc.).

setStatistic(self, name, value, units=None)

source code 

Sets a statistic that was obtained for the benchmark. name is a unique identifier for this parameter and value its value. The optional units describes a scalar value (e.g., Gb/s, secs, etc.).