#ifndef CPU_H #define CPU_H #include enum cpu_module_t : uint8_t { unknown, k10temp, zenpower }; struct cpu_sensors_t { enum cpu_module_t module; uint8_t num_cores; int16_t tdie; int16_t tctl; int16_t tccd1; // double pcore; // double psoc; float ptotal; // double vcore; // double vsoc; uint32_t avg_freq; char hwmon[128]; }; #endif