rename gpu struct
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
namespace gpu {
|
||||
|
||||
struct sensors {
|
||||
struct gpuSensors {
|
||||
std::string hwmon = "";
|
||||
bool hasGpuMetrics = false;
|
||||
|
||||
@@ -47,8 +47,8 @@ struct sensors {
|
||||
uint64_t vram_total = 0;
|
||||
};
|
||||
|
||||
void detectHwmon(sensors* target, std::string pci);
|
||||
void update(sensors* g);
|
||||
void detectHwmon(gpuSensors* target, std::string pci);
|
||||
void update(gpuSensors* g);
|
||||
|
||||
} // namespace gpu
|
||||
|
||||
|
||||
Reference in New Issue
Block a user