open-standards/jcp/jcp-rs/crates/jcp-energy/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Transaction Science a4415ceab6 jcp-energy: the RAPL zone predicate and the tree reader are public
A crate that decides whether a powercap zone qualifies for the RAPL rung kept a
copy of is_rapl_package_name, and the copy fell behind when the predicate came to
accept package-<n>-die-<m>. The predicate is now public, and so is Rapl::open_in,
which reads the powercap tree at the root it is given and nothing else. Each doc
says what it answers. A test calls both through the crate's public path, on a
fixture tree with package-0-die-0 and package-0-die-1 zones beside a core subzone
and a psys zone: the reader sums the two die zones and only them. Nothing else
changes.

Changelog: none
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-07 08:16:58 -05:00
..
ioreport_probed_once.rs jcp-energy: a rail is live only if it keeps advancing, never on a two-step refresh 2026-09-30 18:55:14 -04:00
npu_needs_proof.rs jcp-energy: the Neural Engine is reported only once its rail is proved live 2026-10-05 09:18:11 -04:00
nvml_hardware.rs jcp-energy: clippy-clean on Linux, with and without nvml 2026-11-05 10:21:43 -05:00
rapl_hardware.rs jcp-energy: RAPL MSR domains are per die on Intel, per package on AMD; die zones are package zones 2026-11-04 21:20:55 -05:00
rapl_zone_public.rs jcp-energy: the RAPL zone predicate and the tree reader are public 2026-11-07 08:16:58 -05:00