align structs, idk if it does anything
This commit is contained in:
@@ -8,19 +8,21 @@
|
||||
|
||||
namespace cpu {
|
||||
|
||||
struct cpuSensors {
|
||||
std::string hwmon;
|
||||
bool zenpower = false;
|
||||
enum Module : uint8_t { unknown, k10temp, zenpower };
|
||||
|
||||
int tdie = 0;
|
||||
int tctl = 0;
|
||||
int tccd1 = 0;
|
||||
double pcore = 0.0;
|
||||
double psoc = 0.0;
|
||||
double ptotal = 0.0;
|
||||
double vcore = 0.0;
|
||||
double vsoc = 0.0;
|
||||
struct cpuSensors {
|
||||
Module module = unknown;
|
||||
std::byte _pad[1];
|
||||
int16_t tdie = 0;
|
||||
int16_t tctl = 0;
|
||||
int16_t tccd1 = 0;
|
||||
// double pcore = 0.0;
|
||||
// double psoc = 0.0;
|
||||
float ptotal = 0.0;
|
||||
// double vcore = 0.0;
|
||||
// double vsoc = 0.0;
|
||||
uint32_t avg_freq = 0;
|
||||
std::string hwmon;
|
||||
};
|
||||
|
||||
void detectHwmon(cpuSensors* target, const std::string& pci);
|
||||
|
||||
Reference in New Issue
Block a user