2020-01-30 09:52:24 +00:00
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stdio.h>
|
2020-01-29 01:46:26 +00:00
|
|
|
#include <nvml.h>
|
2020-01-30 09:52:24 +00:00
|
|
|
|
2020-02-01 01:28:31 +00:00
|
|
|
extern nvmlReturn_t result;
|
|
|
|
extern unsigned int nvidiaTemp, processSamplesCount, lastSeenTimeStamp, *vgpuInstanceSamplesCount;
|
|
|
|
extern nvmlValueType_t *sampleValType;
|
|
|
|
extern nvmlDevice_t nvidiaDevice;
|
|
|
|
extern struct nvmlUtilization_st nvidiaUtilization;
|
2020-02-04 06:11:13 +00:00
|
|
|
extern struct nvmlMemory_st nvidiaMemory;
|
2020-02-01 01:28:31 +00:00
|
|
|
extern bool nvmlSuccess;
|
2020-01-29 01:46:26 +00:00
|
|
|
|
2020-02-04 07:48:42 +00:00
|
|
|
bool checkNvidia(void);
|
2020-01-30 09:52:24 +00:00
|
|
|
void getNvidiaInfo(void);
|