cpu: Fix not reporting amd cpu power
@@ -570,7 +570,8 @@ bool CPUStats::InitCpuPowerData() {
break;
}
}
- } else {
+ }
+ if (!cpuPowerData && !intel) {
auto powerData = std::make_unique<CPUPowerData_amdgpu>();
cpuPowerData = (CPUPowerData*)powerData.release();
}
