gonna need to refactor
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
#include <string>
|
||||
#include <utils.hpp>
|
||||
|
||||
#define REL_METRICS_PATH = "/../../gpu_metrics"
|
||||
|
||||
struct gpu_t {
|
||||
uint16_t fan_speed = 0;
|
||||
uint16_t core_clock = 0;
|
||||
@@ -37,7 +39,7 @@ struct GpuMetricsHeader_t {
|
||||
|
||||
std::string detectGpuHwmon(std::string pci);
|
||||
gpu_t getGpu(GpuMetricsHeader_t header, std::string hw);
|
||||
gpu_t getGpu(std::string hw);
|
||||
gpu_t getGpu(std::string hw, bool hasMetrics);
|
||||
GpuMetricsHeader_t getGpuMetricsHeader(std::string path);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user