Go to the source code of this file.
Namespaces | |
| namespace | gpu_power_monitor |
Variables | |
| gpu_power_monitor.handle = pynvml.nvmlDeviceGetHandleByIndex(0) | |
| float | gpu_power_monitor.measurement_interval = 0.01 |
| int | gpu_power_monitor.mW_to_W = 1e3 |
| gpu_power_monitor.now = datetime.now() | |
| gpu_power_monitor.current_datetime = now.strftime("%Y%m%d %H:%M:%S.%f") | |
| float | gpu_power_monitor.sec = 0.01 |
| int | gpu_power_monitor.measure = pynvml.nvmlDeviceGetPowerUsage(handle) / mW_to_W |