Structs§
- Energy
Result - Mock
Power Source - Fixed-wattage mock for deterministic tests.
- Power
Sample - Power
Tracker
Traits§
- Power
Source - Trait for reading instantaneous power (NVML, RAPL, etc.).
Functions§
- estimate_
energy - Trapezoidal integration of power samples (must be sorted by timestamp).