Added more DependencyType enumerators.
This commit is contained in:
@@ -216,11 +216,13 @@ PhaseDependenciesTracker::mCalculateDependencies(const std::shared_ptr<Configura
|
||||
continue;
|
||||
}
|
||||
|
||||
// Captures activate window dependencies
|
||||
if (poolSubstrPos != -1) {
|
||||
if (poolSubstrPos != -1) {
|
||||
// Captures activate window dependencies
|
||||
QString poolName = dep.phaseDep.left(poolSubstrPos);
|
||||
|
||||
// TODO - modify structures so the condition can be checked as below
|
||||
// if (poolController.isDependency(poolName, otherPhase->phaseName)) {
|
||||
if (otherPhase->phaseName == "ACT") {
|
||||
QString poolName = dep.phaseDep.left(poolSubstrPos);
|
||||
|
||||
if (timeDiff == dep.timeValue) {
|
||||
// Captures only the first (exactly matching time) ACT in
|
||||
// the ACT window as a dependency
|
||||
|
||||
@@ -136,12 +136,27 @@ QString PhaseDependency::dependencyTypeName(DependencyType dtype) {
|
||||
case IntraBank:
|
||||
return "IntraBank";
|
||||
|
||||
case IntraBankGroup:
|
||||
return "IntraBankGroup";
|
||||
|
||||
case IntraRank:
|
||||
return "IntraRank";
|
||||
|
||||
case IntraLogicalRank:
|
||||
return "IntraLogicalRank";
|
||||
|
||||
case IntraPhysicalRank:
|
||||
return "IntraPhysicalRank";
|
||||
|
||||
case IntraDIMMRank:
|
||||
return "IntraDIMMRank";
|
||||
|
||||
case InterRank:
|
||||
return "InterRank";
|
||||
|
||||
case InterDIMMRank:
|
||||
return "InterDIMMRank";
|
||||
|
||||
default:
|
||||
// TODO - maybe throw?
|
||||
return "";
|
||||
|
||||
@@ -49,8 +49,13 @@ class Phase;
|
||||
enum DependencyType
|
||||
{
|
||||
IntraBank,
|
||||
IntraBankGroup,
|
||||
IntraRank,
|
||||
InterRank
|
||||
IntraLogicalRank,
|
||||
IntraPhysicalRank,
|
||||
IntraDIMMRank,
|
||||
InterRank,
|
||||
InterDIMMRank,
|
||||
};
|
||||
|
||||
class PhaseDependency
|
||||
|
||||
Reference in New Issue
Block a user