Organizing files.

This commit is contained in:
Iron Prando da Silva
2022-02-02 11:51:10 +01:00
parent e3f6093358
commit b0a22ba133
15 changed files with 13 additions and 15 deletions

View File

@@ -112,11 +112,11 @@ add_executable(TraceAnalyzer
simulationdialog.cpp
businessObjects/dependencymodels.cpp
businessObjects/dramTimeDependencies/activatewindowpoolcontroller.cpp
businessObjects/dramTimeDependencies/dramtimedependenciesIF.cpp
businessObjects/dramTimeDependencies/dbEntries/DDR3dbphaseentry.cpp
businessObjects/dramTimeDependencies/DDR3TimeDependencies.cpp
businessObjects/dramTimeDependencies/dramtimedependencyfactory.cpp
businessObjects/dramTimeDependencies/devices/activatewindowpoolcontroller.cpp
businessObjects/dramTimeDependencies/devices/dramtimedependenciesIF.cpp
businessObjects/dramTimeDependencies/devices/DDR3TimeDependencies.cpp
businessObjects/dramTimeDependencies/devices/dramtimedependencyfactory.cpp
businessObjects/dramTimeDependencies/phasedependenciestracker.cpp
businessObjects/dramTimeDependencies/dramtimedependenciesIF.cpp

View File

@@ -46,7 +46,7 @@
#include "businessObjects/phases/phasedependency.h"
#include "timedependency.h"
#include "businessObjects/dramTimeDependencies/dbEntries/includes.h"
#include "businessObjects/dramTimeDependencies/dbEntries/dbphaseentryTypes.h"
struct PhaseTimeDependencies {
explicit PhaseTimeDependencies(std::initializer_list<TimeDependency> d) : dependencies(d) {}
@@ -69,4 +69,4 @@ struct DBDependencyEntry {
QString timeDependency;
size_t dependencyPhaseID;
QString dependencyPhaseName;
};
};

View File

@@ -3,8 +3,6 @@
#include <QString>
#include "businessObjects/phases/phasedependency.h"
class TimeDependency {
public:
TimeDependency() = default;
@@ -19,5 +17,4 @@ public:
QString timeDepName;
bool considerIntraRank = false; // Used only for InterRank skip check in PhaseDependenciesTracker::mCalculateDependencies
};
};

View File

@@ -4,7 +4,7 @@
#include <QSqlQuery>
#include "businessObjects/phases/phasedependency.h"
#include "businessObjects/dramTimeDependencies/timedependency.h"
#include "businessObjects/dramTimeDependencies/common/common.h"
class DBPhaseEntryIF {
public:

View File

@@ -35,7 +35,7 @@
#pragma once
#include "commonstructures.h"
#include "businessObjects/dramTimeDependencies/common/common.h"
class ActivateWindowPoolController {
public:

View File

@@ -215,7 +215,7 @@ PhaseDependenciesTracker::mCalculateDependencies(const TraceDB& tdb, const std::
}
// Captures activate window dependencies
if (poolSubstrPos != -1) {
if (poolSubstrPos != -1) {
if (otherPhase->phaseName == "ACT") {
QString poolName = dep.phaseDep.left(poolSubstrPos);
@@ -255,6 +255,7 @@ PhaseDependenciesTracker::mCalculateDependencies(const TraceDB& tdb, const std::
}
// Capture command bus dependencies
if (timeDiff == device->getClk()) {
entries.emplace_back(DBDependencyEntry{
phase->id,

View File

@@ -40,8 +40,8 @@
#include <QString>
#include "data/tracedb.h"
#include "dramtimedependencyfactory.h"
#include "commonstructures.h"
#include "devices/dramtimedependencyfactory.h"
#include "common/common.h"
class PhaseDependenciesTracker {
public: