Cosmetic changes only.

Removal of unused includes.
Some commented code cleaned up.
This commit is contained in:
Éder Ferreira Zulian
2015-05-28 14:54:29 +02:00
parent 48236a481e
commit 707ce4da8d
6 changed files with 9 additions and 19 deletions

View File

@@ -155,15 +155,6 @@ void Controller<BUSWIDTH>::buildScheduler()
{
scheduler = new FR_FCFS(*controllerCore);
}
// else if (selectedScheduler == "PAR_BS")
// {
// scheduler = new PAR_BS(*controllerCore, Configuration::getInstance().RefreshAwareScheduling,
// Configuration::getInstance().Capsize);
// }
// else if (selectedScheduler == "Grouper")
// {
// scheduler = new ReadWriteGrouper(*controllerCore);
// }
else
reportFatal(name(), "unsupported scheduler: " + selectedScheduler);
}

View File

@@ -38,12 +38,11 @@
#ifndef ICONTROLLER_H
#define ICONTROLLER_H
#include <systemc.h>
#include "core/scheduling/ScheduledCommand.h"
#include "core/scheduling/Trigger.h"
// Utiliy class to pass around the Controller class to the controller Core and various schedulers, without having to propagate the template defintions
// throughout all classes
class IController
@@ -56,5 +55,5 @@ public:
};
#endif // ICONTROLLER_H

View File

@@ -36,7 +36,7 @@
*/
#ifndef FR_FCFS_H_
#define FR_FCFS_H_
#define FR_FCFS_H_
#include "IScheduler.h"
#include "../core/ControllerCore.h"
@@ -60,5 +60,5 @@ private:
};
#endif /* FR_FCFS_H_ */
#endif

View File

@@ -318,3 +318,4 @@ struct Dram: sc_module
};
#endif /* DRAM_H_ */

View File

@@ -1,4 +1,4 @@
/*
/*
* Copyright (c) 2015, University of Kaiserslautern
* All rights reserved.
*
@@ -36,12 +36,13 @@
#include <sys/wait.h>
#include <boost/filesystem.hpp>
#include "SimulationManager.h"
#include "../common/Utils.h"
using namespace std;
using namespace tinyxml2;
SimulationManager::SimulationManager(string resources) : resources(resources)
{
}

View File

@@ -36,13 +36,11 @@
#include <iostream>
#include <string>
#include "SimulationManager.h"
#include "../controller/core/configuration/Configuration.h"
#include <systemc.h>
#include <utility>
#include <vector>
#include "SimulationManager.h"
using namespace std;