doing sth

This commit is contained in:
2026-05-05 17:49:37 +02:00
parent 6c8739ecd5
commit 110c012587
4 changed files with 81 additions and 0 deletions

27
include/cpu.h Normal file
View File

@@ -0,0 +1,27 @@
#ifndef CPU_H
#define CPU_H
#include <stdint.h>
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