(stats: Stats)
| 1210 | ] |
| 1211 | |
| 1212 | def calc_jit_memory_table(stats: Stats) -> Rows: |
| 1213 | jit_memory_stats = stats.get_jit_memory_stats() |
| 1214 | |
| 1215 | return [ |
| 1216 | ( |
| 1217 | label, |
| 1218 | Count(value), |
| 1219 | Ratio(value, den, percentage=label != "Total memory size"), |
| 1220 | ) |
| 1221 | for label, (value, den) in jit_memory_stats.items() |
| 1222 | ] |
| 1223 | |
| 1224 | def calc_histogram_table(key: str, den: str | None = None) -> RowCalculator: |
| 1225 | def calc(stats: Stats) -> Rows: |
nothing calls this directly
no test coverage detected
searching dependent graphs…