License
BSD-3-Clause
Energy and Power Monitoring
This module provides power consumption tracking for efficiency analysis.
Features:
Platform Availability:
System power consumption status.
This struct provides information about the current system power consumption, battery status, and power limits.
uint powerDrawWattsuint powerLimitWattsbool onBatterydouble batteryPercentbool batteryChargingDuration batteryTimeLeftCPU package power information.
This struct provides per-package power consumption data, typically from Intel RAPL or similar interfaces.
uint packageIddouble wattsdouble joulesdouble limit