reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
440 for (const std::unique_ptr<ResourceState> &Resource : Resources)
lib/MCA/HardwareUnits/ResourceManager.cpp130 Resources[Index] = 132 Strategies[Index] = getStrategyFor(*Resources[Index]); 138 const ResourceState &RS = *Resources[Index]; 161 assert(Index < Resources.size() && "Invalid processor resource index!"); 171 return Resources[getResourceStateIndex(ResourceID)]->getNumUnits(); 179 assert(Index < Resources.size() && "Invalid resource use!"); 180 ResourceState &RS = *Resources[Index]; 197 ResourceState &RS = *Resources[RSID]; 216 ResourceState &CurrentUser = *Resources[GroupIndex]; 226 ResourceState &RS = *Resources[RSID]; 238 ResourceState &CurrentUser = *Resources[GroupIndex]; 256 ResourceState &RS = *Resources[getResourceStateIndex(CurrentBuffer)]; 274 ResourceState &RS = *Resources[getResourceStateIndex(CurrentBuffer)]; 287 if (!Resources[Index]->isReady(NumUnits)) 345 ResourceState &Resource = *Resources[Index]; 354 ResourceState &Resource = *Resources[Index];