Struct HomeFidelity

Struct Documentation

struct HomeFidelity

One value’s build-vs-home fidelity witness for a MeterReport (see assemble_report): how many times a distinct value was built (over its whole recompute tally) versus where it is homed and where it is used, read off the matching RichSchedule::ValueCell (looked up by hash).

Public Members

std::string label

value signature “idx:hash” (idx disambiguates a 64-bit hash collision between distinct nodes)

std::size_t hash = 0

the value’s EvalExpr::hash_value()

std::size_t builds = 0

total builds across slices (recompute-aware)

std::string home

dag-scope of home_modes (”” == root {} — a whole-nest invariant)

std::string uses

dag-scope list of the value’s occurrences