Added NVML memory controller load percentage.
This commit is contained in:
@@ -226,6 +226,8 @@ void print_gpu_info(int gpu_num, struct card_info *gpu, int compact) {
|
||||
printf("°C ");
|
||||
|
||||
#ifdef USE_NVML
|
||||
printf("%s MEM %s", header_start, header_end);
|
||||
printf("%3d%%", get_nvml_mem_util(gpu));
|
||||
printf("%s CLK %s", header_start, header_end);
|
||||
print_nvml_clock_reason(1, gpu);
|
||||
#endif
|
||||
@@ -256,8 +258,10 @@ void print_gpu_info(int gpu_num, struct card_info *gpu, int compact) {
|
||||
#endif
|
||||
|
||||
#ifdef USE_NVML
|
||||
printf("Mem util: %d%%\n", get_nvml_mem_util(gpu));
|
||||
printf("Clock reasons: ");
|
||||
print_nvml_clock_reason(0, gpu);
|
||||
printf("\n");
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user