align structs, idk if it does anything
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user