align structs, idk if it does anything

This commit is contained in:
2026-01-02 17:53:36 +01:00
parent 9d1b50882b
commit 0e060f15f9
5 changed files with 31 additions and 24 deletions

View File

@@ -9,10 +9,10 @@
namespace gpu {
struct gpuSensors {
std::string hwmon;
bool hasGpuMetrics = false;
uint64_t vram_used = 0;
// uint64_t vram_total = 0;
double vcore = 0.0f;
float vcore = 0.0f;
uint16_t clock_core = 0;
uint16_t clock_mem = 0;
@@ -31,12 +31,13 @@ struct gpuSensors {
uint8_t temp_vrm_soc = 0;
uint8_t temp_vrm_mem = 0;
bool hasGpuMetrics = false;
uint8_t usage_core = 0;
uint8_t usage_media = 0;
uint8_t usage_umc = 0;
uint64_t vram_used = 0;
// uint64_t vram_total = 0;
std::string hwmon;
};
void detectHwmon(gpuSensors* target, const std::string& pci);