Commit 869e97c
committed
Fixed complexity runs throw an error
The `Controller` base class was trying to call `_previousFrameComplexity()` which
was only implemented on the `RampController` subclass.
Since the `Controller` base class allocates the `Samples` object and records samples,
we know that all subclasses use the same sample format, so we can move the helper
functions that access sample data into the `Controller` class.1 parent 37c6101 commit 869e97c
1 file changed
+23
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
158 | 181 | | |
159 | 182 | | |
160 | 183 | | |
| |||
598 | 621 | | |
599 | 622 | | |
600 | 623 | | |
601 | | - | |
602 | | - | |
603 | | - | |
604 | | - | |
605 | | - | |
606 | | - | |
607 | | - | |
608 | | - | |
609 | | - | |
610 | | - | |
611 | | - | |
612 | | - | |
613 | | - | |
614 | | - | |
615 | | - | |
616 | | - | |
617 | | - | |
618 | | - | |
619 | | - | |
620 | | - | |
621 | | - | |
622 | | - | |
623 | | - | |
624 | 624 | | |
625 | 625 | | |
626 | 626 | | |
| |||
0 commit comments