MangoHud/src/nvctrl.h

22 lines
391 B
C
Raw Normal View History

#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;
extern bool nvctrlSuccess;
bool checkXNVCtrl(void);
2020-03-20 11:54:08 +00:00
void getNvctrlInfo(void);
int64_t getNvctrlFanSpeed();
#endif //MANGOHUD_NVCTRL_H