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.
9 lines
260 B
C
9 lines
260 B
C
4 years ago
|
#include <nvml.h>
|
||
|
nvmlReturn_t result;
|
||
|
unsigned int nvidiaTemp, processSamplesCount, lastSeenTimeStamp, *vgpuInstanceSamplesCount;
|
||
|
nvmlValueType_t *sampleValType;
|
||
|
nvmlDevice_t nvidiaDevice;
|
||
|
struct nvmlUtilization_st nvidiaUtilization;
|
||
|
|
||
|
void checkNvidia(void);
|