Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix energy measurement that is not in microjoules
The function nvmlDeviceGetTotalEnergyConsumption returns the energy consumption in millijoules, not microjoules. In order for it to have the same units as the other energy measurements, the returned value should be multiplied by 1000. More info here: https://docs.nvidia.com/deploy/nvml-api/group__nvmlDeviceQueries.html
- Loading branch information