wilicc / gpu-burn

Multi-GPU CUDA stress test
BSD 2-Clause "Simplified" License
1.37k stars 295 forks source link

Added Power/Watt usage #104

Open ZuluPro opened 4 months ago

ZuluPro commented 4 months ago

Added POWER usage from nvidia-smi. I reproduced the same behavior than temperature pooling.

tsengjun commented 3 months ago

Hello @ZuluPro How about getting temperature and power by a single command: From execlp("nvidia-smi", "nvidia-smi", "-l", "5", "-q", "-d", "TEMPERATURE", NULL); To execlp("nvidia-smi", "nvidia-smi", "-l", "5", "-q", "-d", "TEMPERATURE,POWER", NULL); should get the same result.

Thanks!