2020-07-06 17:31:40 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MANGOHUD_NVCTRL_H
|
|
|
|
#define MANGOHUD_NVCTRL_H
|
|
|
|
|
2020-03-20 11:54:08 +00:00
|
|
|
struct nvctrlInfo{
|
|
|
|
int load;
|
|
|
|
int temp;
|
|
|
|
float memoryUsed;
|
|
|
|
float memoryTotal;
|
|
|
|
int MemClock;
|
|
|
|
int CoreClock;
|
2023-04-20 01:10:21 +00:00
|
|
|
int fan_speed;
|
2020-03-20 11:54:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
extern struct nvctrlInfo nvctrl_info;
|
2020-03-20 14:33:43 +00:00
|
|
|
extern bool nvctrlSuccess;
|
|
|
|
bool checkXNVCtrl(void);
|
2020-03-20 11:54:08 +00:00
|
|
|
void getNvctrlInfo(void);
|
2023-05-04 23:48:43 +00:00
|
|
|
int64_t getNvctrlFanSpeed();
|
2020-07-06 17:31:40 +00:00
|
|
|
|
|
|
|
#endif //MANGOHUD_NVCTRL_H
|