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 efc2e32 commit 0f7ba13Copy full SHA for 0f7ba13
src/cpucounters.cpp
@@ -2430,9 +2430,9 @@ void PCM::initUncorePMUsDirect()
2430
IRP_UNIT_CTL = SPR_IRP_UNIT_CTL;
2431
break;
2432
}
2433
+ irpPMUs.resize(num_sockets);
2434
if (IRP_UNIT_CTL)
2435
{
- irpPMUs.resize(num_sockets);
2436
for (uint32 s = 0; s < (uint32)num_sockets; ++s)
2437
2438
auto& handle = MSR[socketRefCore[s]];
@@ -9270,6 +9270,7 @@ uint32 PCM::getMaxNumOfIIOStacks() const
9270
9271
if (iioPMUs.size() > 0)
9272
9273
+ assert(irpPMUs.size());
9274
assert(iioPMUs[0].size() == irpPMUs[0].size());
9275
return (uint32)iioPMUs[0].size();
9276
0 commit comments