Commit 54603f2
committed
Improve t-test handling by multiple contexts
Previously, a single 't_context_t' instance was used for all statistical
tests, limiting the ability to assess multiple cropping thresholds
independently.
This change allows separate t-tests for different percentiles of
execution times, ensuring more robust statistical analysis.
To achieve this, the following changes were made:
- Replaced the single 't_context_t' instance with an array 'ctxs[]' to
track multiple contexts.
- Introduced 'DUDECT_TESTS' to define the total number of tests,
including the baseline.
- Updated 'update_statistics()' to push values into the appropriate
context based on percentile filtering.
- Implemented 'max_test()' to determine the test context with the
maximum t-value.
- Adjusted memory allocation and cleanup for multiple contexts.
This enhances the ability to detect timing differences at various
thresholds, improving test reliability.
Change-Id: Icfad85854765316dece6d1303c5e13ad1e8ab8e91 parent 0c920f9 commit 54603f2
1 file changed
+36
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
45 | 47 | | |
| 48 | + | |
46 | 49 | | |
47 | | - | |
| 50 | + | |
48 | 51 | | |
49 | 52 | | |
50 | 53 | | |
| |||
70 | 73 | | |
71 | 74 | | |
72 | 75 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
77 | 80 | | |
78 | 81 | | |
79 | 82 | | |
| |||
106 | 109 | | |
107 | 110 | | |
108 | 111 | | |
109 | | - | |
| 112 | + | |
110 | 113 | | |
111 | | - | |
| 114 | + | |
| 115 | + | |
112 | 116 | | |
113 | 117 | | |
114 | | - | |
| 118 | + | |
115 | 119 | | |
116 | 120 | | |
117 | 121 | | |
118 | 122 | | |
119 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
120 | 138 | | |
121 | 139 | | |
| 140 | + | |
122 | 141 | | |
123 | 142 | | |
124 | 143 | | |
| |||
191 | 210 | | |
192 | 211 | | |
193 | 212 | | |
194 | | - | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
195 | 217 | | |
196 | 218 | | |
197 | 219 | | |
198 | 220 | | |
199 | 221 | | |
200 | | - | |
201 | 222 | | |
202 | 223 | | |
203 | 224 | | |
| |||
209 | 230 | | |
210 | 231 | | |
211 | 232 | | |
212 | | - | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
213 | 238 | | |
214 | 239 | | |
215 | 240 | | |
| |||
0 commit comments