Fix PowerSensor
Compare changes
+ 25
− 21
@@ -11,11 +11,7 @@
@@ -29,12 +25,23 @@ static std::string name_nvml("nvml");
@@ -60,13 +67,20 @@ PowerSensor *get_power_sensor(const std::string name, const unsigned i) {
@@ -76,17 +90,7 @@ PowerSensor *get_power_sensor(const std::string name, const unsigned i) {