forked from nykez/memory-simulator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSimulationDeployer.h
39 lines (34 loc) · 1.03 KB
/
SimulationDeployer.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Project: GroupProject
// File Name: SimulationDeployer.h
// Description: Runs the simulation.
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#ifndef SIM_DEP_H
#define SIM_DEP_H
#include "MemoryController.cpp"
#include "MemoryOptions.h"
#include "InputReader.h"
#include "OutputDisplayer.cpp"
#include "Trace.h"
#include "TraceStats.h"
#include <string>
#include <vector>
/// <summary>
/// runs simulation
/// </summary>
class SimulationDeployer {
private:
InputReader inputReader;
OutputDisplayer outputDisplayer;
MemoryController MC; //ptr to MemoryController of this program simulation
vector<Trace> traces;
MemoryOptions MO;
public:
SimulationDeployer();
~SimulationDeployer();
void Initialize(const string& configFile, const string& traceFile);
void GatherInput();
void RunProgram();
};
#endif //SIM_DEP_H