We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ba3785 commit 1de07d8Copy full SHA for 1de07d8
IntelPresentMon/ControlLib/IntelPowerTelemetryAdapter.cpp
@@ -232,7 +232,9 @@ namespace pwr::intel
232
};
233
if (const auto result = ctlPowerGetLimits(powerDomains[0], &limits);
234
result == CTL_RESULT_SUCCESS) {
235
- gpu_sustained_power_limit_mw = (double)limits.sustainedPowerLimit.power;
+ if (limits.sustainedPowerLimit.enabled) {
236
+ gpu_sustained_power_limit_mw = (double)limits.sustainedPowerLimit.power;
237
+ }
238
pmlog_verb(v::tele_gpu)(std::format("ctlPowerGetLimits output")).pmwatch(GetName())
239
.pmwatch(ref::DumpGenerated(limits));
240
}
0 commit comments