You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
503 B
C
18 lines
503 B
C
#pragma once
|
|
#ifndef MANGOHUD_NVIDIA_INFO_H
|
|
#define MANGOHUD_NVIDIA_INFO_H
|
|
|
|
#include <nvml.h>
|
|
|
|
extern nvmlReturn_t result;
|
|
extern unsigned int nvidiaTemp, processSamplesCount, *vgpuInstanceSamplesCount, nvidiaCoreClock, nvidiaMemClock, nvidiaPowerUsage;
|
|
extern nvmlDevice_t nvidiaDevice;
|
|
extern struct nvmlUtilization_st nvidiaUtilization;
|
|
extern struct nvmlMemory_st nvidiaMemory;
|
|
extern bool nvmlSuccess;
|
|
|
|
bool checkNVML(const char* pciBusId);
|
|
bool getNVMLInfo(void);
|
|
|
|
#endif //MANGOHUD_NVIDIA_INFO_H
|