# A meter for wai-quantum's fabric: its `RunMeter` over this process's own CPU and GPU # energy counters, a calibration over windows long enough for those counters to resolve, # and a tool that calibrates the CPU reference and a WebGPU member with it. # # Deliberately a SEPARATE crate with its own lockfile: a meter belongs with the energy # source it reads, so the counters are a dependency here only, and never compile in # wai-quantum's own builds or tests. [package] name = "quantum-meter" version = "0.0.0" edition = "2024" rust-version = "1.97" license = "Apache-2.0" publish = false [dependencies] wai-quantum = { path = "../../wai-quantum", default-features = false, features = ["quantum_fabric_webgpu"] } # `ioreport` is the per-process counters' feature. They exist on macOS on Apple Silicon; # elsewhere the crate builds, the counters are not live, and every run is unmetered. jouleclaw-energy = { path = "../../../jouleclaw/jouleclaw-rs/crates/jouleclaw-energy", default-features = false, features = ["ioreport"] }