Module rustc_mir_transform::coverage::counters
source ยท Structsยง
- BcbExpression ๐
- CoverageCounters ๐Generates and stores coverage counter and coverage expression information associated with nodes/edges in the BCB graph.
- MakeBcbCounters ๐Traverse the
CoverageGraph
and add either aCounter
orExpression
to every BCB, to be injected with coverage spans.Expressions
have no runtime overhead, so if a viable expression (adding or subtracting two other counters or expressions) can compute the same result as an embedded counter, anExpression
should be used.
Enumsยง
- BcbCounter ๐The coverage counter or counter expression associated with a particular BCB node or BCB edge.
- CounterIncrementSite ๐