Module: Diagnostics::Sample::Controls::Result::Digest
Class Method Summary
collapse
count, frequency, mean, sum, values
standard_deviation
Class Method Details
.example ⇒ Object
30
31
32
33
34
35
36
37
38
|
# File 'lib/diagnostics/sample/controls/result.rb', line 30
def self.example
<<~TEXT % [count, sum, mean, standard_deviation, frequency, gc]
Cycles: %d
Time: %fms
Mean Cycle Time: %fms (± %fms)
Cycles Per Second: %f
GC: #{gc ? 'on' : 'off'}
TEXT
end
|
.gc ⇒ Object
26
27
28
|
# File 'lib/diagnostics/sample/controls/result.rb', line 26
def self.gc
false
end
|