Added support for Zen/Zen3 RAPL package power sensor.

This commit is contained in:
2025-02-27 20:35:24 -08:00
parent 5319945f08
commit 4bb85c461e
6 changed files with 180 additions and 30 deletions
+6
View File
@@ -0,0 +1,6 @@
#include "board-sensors.h"
static struct hwmon_avail_sensor rapl_sensor = {"Package power", -1, NULL, NULL};
int init_rapl();
float get_rapl_package_power();