Struct MeterReport

Struct Documentation

struct MeterReport

Summary of one metered dry-run (or wet) replay: the hierarchy-wide peak (from a wired PeakMonitor), the persistent/volatile FLOPs and CostModel exec-time split (rolled up from a CacheManager's recompute tally, classified by compute_volatility), the total build count, and the per-value build-vs-home fidelity list (see HomeFidelity).

Public Members

double peak_bytes = 0

PeakMonitor high-water (dense on dry run / sparse on wet run)

std::size_t peak_op_hash = 0

location (op hash) of the peak

double flops_persistent = 0
double flops_volatile = 0

dense model; dry-only

double cost_persistent = 0
double cost_volatile = 0

CostModel exec; dry-only.

std::size_t builds_total = 0
std::optional<double> peak_bytes_steady

High-water of a second evaluation over the same cache, after CacheManager::reset(): what an iteration costs once the persistent values exist. Set only if MeterOptions::steady_iteration asked for it; every other field describes the first evaluation alone.

double disk_peak_bytes = 0

High-water of the values charged as kept on disk (DiskSpill), over the evaluations metered; zero without MeterOptions::disk.

std::vector<HomeFidelity> home_fidelity

sorted: builds desc

BatchScheduler scheduler = BatchScheduler::forest_descent

which executor this report describes