sane makefile, sane structure, lots of updates
This commit is contained in:
25
include/gpu.hpp
Normal file
25
include/gpu.hpp
Normal file
@@ -0,0 +1,25 @@
|
||||
#include <string>
|
||||
|
||||
struct gpu_t {
|
||||
uint16_t fan_speed;
|
||||
uint16_t core_clock;
|
||||
uint16_t mem_clock;
|
||||
double vcore;
|
||||
uint16_t power_avg;
|
||||
uint16_t power_cap;
|
||||
uint16_t power_max;
|
||||
uint8_t fan_pwm;
|
||||
uint8_t edge_temp;
|
||||
uint8_t hotspot_temp;
|
||||
uint8_t mem_temp;
|
||||
uint8_t gfx_vrm_temp;
|
||||
uint8_t soc_vrm_temp;
|
||||
uint8_t mem_vrm_temp;
|
||||
uint64_t vram_used;
|
||||
uint64_t vram_total;
|
||||
uint8_t core_usage;
|
||||
uint8_t media_usage;
|
||||
uint8_t umc_usage;
|
||||
};
|
||||
|
||||
gpu_t getGpu(std::string hw);
|
||||
Reference in New Issue
Block a user