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.
12 lines
268 B
C
12 lines
268 B
C
4 years ago
|
struct nvctrlInfo{
|
||
|
int load;
|
||
|
int temp;
|
||
|
float memoryUsed;
|
||
|
float memoryTotal;
|
||
|
int MemClock;
|
||
|
int CoreClock;
|
||
|
};
|
||
|
|
||
|
extern struct nvctrlInfo nvctrl_info;
|
||
|
void getNvctrlInfo(void);
|
||
|
char *get_attr_target_string(int attr, int target_type, int target_id);
|