(stats: Stats)
| 1190 | |
| 1191 | def optimization_section() -> Section: |
| 1192 | def calc_optimization_table(stats: Stats) -> Rows: |
| 1193 | optimization_stats = stats.get_optimization_stats() |
| 1194 | |
| 1195 | return [ |
| 1196 | ( |
| 1197 | label, |
| 1198 | Count(value), |
| 1199 | Ratio(value, den, percentage=label != "Uops executed"), |
| 1200 | ) |
| 1201 | for label, (value, den) in optimization_stats.items() |
| 1202 | ] |
| 1203 | |
| 1204 | def calc_optimizer_table(stats: Stats) -> Rows: |
| 1205 | optimizer_stats = stats.get_optimizer_stats() |
nothing calls this directly
no test coverage detected
searching dependent graphs…