about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-05-18 13:32:28 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2023-05-19 08:48:28 +1000
commit1bb957efc6ac69b0b19af282c51e04ef70f4233c (patch)
tree516d64221cd7e8b2e80ad69d4f2b176963ead4d4 /compiler/rustc_mir_transform/src/coverage/debug.rs
parent1551495d3221b6162b96a14fc5cdb45f2783ed3c (diff)
downloadrust-1bb957efc6ac69b0b19af282c51e04ef70f4233c.tar.gz
rust-1bb957efc6ac69b0b19af282c51e04ef70f4233c.zip
Improve CGU partitioning debug output.
- Pass a slice instead of an iterator to `debug_dump`.
- For each CGU set, print: the number of CGUs, the max and min size, and
  the ratio of the max and min size (which indicates how evenly sized
  they are).
- Print a `FINAL` entry, showing the absolute final results.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions