evt-diagnostics-sample 0.2.0.0 → 0.2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/diagnostics/sample/controls/result.rb +3 -4
- data/lib/diagnostics/sample/result.rb +2 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b400c450de69084142338110fdc1687b0e30204e688df19564dc286200cd175c
|
4
|
+
data.tar.gz: 56408c4726f0d19ee521498aa6b07f5eca53afe0cf674f651dbcb265bec9713c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da268224a96d0dc3c74cd2bf70a0c994cfc27bbb3e4b2218effa35a4ce59cf4358d250a19cbeac04e9db769107ced5a424f29e515abd9eebed2b0ebe65486441
|
7
|
+
data.tar.gz: ef009704feb327495c3b672b208c8fdee147baba71df2df2b40091601807a7ead783ebbeb4089bc1d58199d8ae8521497719ba2a59138498115431858407cc4a
|
@@ -17,15 +17,14 @@ module Diagnostics
|
|
17
17
|
values = [
|
18
18
|
StandardDeviation::Values.sum,
|
19
19
|
StandardDeviation::Values.mean,
|
20
|
-
StandardDeviation::
|
21
|
-
StandardDeviation::
|
20
|
+
StandardDeviation::Result.example,
|
21
|
+
StandardDeviation::Values.frequency
|
22
22
|
]
|
23
23
|
|
24
24
|
<<~TEXT % values
|
25
25
|
Cycle Time: %fms
|
26
|
-
Mean Cycle Time: %fms
|
26
|
+
Mean Cycle Time: %fms (± %fms)
|
27
27
|
Cycles Per Second: %f
|
28
|
-
Cycle Time Standard Deviation: %fms
|
29
28
|
TEXT
|
30
29
|
end
|
31
30
|
end
|
@@ -57,11 +57,10 @@ module Diagnostics
|
|
57
57
|
end
|
58
58
|
|
59
59
|
def digest
|
60
|
-
<<~TEXT % [cycle_time_milliseconds, mean_cycle_time_milliseconds,
|
60
|
+
<<~TEXT % [cycle_time_milliseconds, mean_cycle_time_milliseconds, standard_deviation, cycles_per_second]
|
61
61
|
Cycle Time: %fms
|
62
|
-
Mean Cycle Time: %fms
|
62
|
+
Mean Cycle Time: %fms (± %fms)
|
63
63
|
Cycles Per Second: %f
|
64
|
-
Cycle Time Standard Deviation: %fms
|
65
64
|
TEXT
|
66
65
|
end
|
67
66
|
alias_method :to_s, :digest
|