Methods
- N
-
- O
-
- R
-
Class Public methods
Source:
show
| on GitHub
def initialize(harness, metric)
@harness, @metric, @supported = harness, metric, false
end
Instance Public methods
Source:
show
| on GitHub
def report
if @supported
rate = @total / full_profile_options[:runs]
'%20s: %s' % [@metric.name, @metric.format(rate)]
else
'%20s: unsupported' % @metric.name
end
end
Instance Protected methods
Source:
show
| on GitHub
def output_filename
"#{full_profile_options[:output]}/#{full_test_name}_#{@metric.name}"
end