From e45b2afc40cd1721d7544b4ba02c4942dc266ef4 Mon Sep 17 00:00:00 2001 From: Frederik Lauer Date: Tue, 31 May 2016 11:54:52 +0200 Subject: [PATCH] typos Fixes --- DRAMSys/simulator/src/controller/Controller.h | 16 ++++++++-------- DRAMSys/simulator/src/simulation/Dram.h | 2 +- DRAMSys/simulator/src/simulation/Simulation.cpp | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/DRAMSys/simulator/src/controller/Controller.h b/DRAMSys/simulator/src/controller/Controller.h index c79060a8..39f05d49 100644 --- a/DRAMSys/simulator/src/controller/Controller.h +++ b/DRAMSys/simulator/src/controller/Controller.h @@ -144,15 +144,15 @@ private: DebugManager& debugManager; TlmRecorder *tlmRecorder; - // Bandwith realted: + // Bandwidth realted: sc_time idleStart; bool idleState = false; sc_time idleTime; sc_time endTime; sc_time startTime; int startTimeSet = false; - void startBandwithIdleCollector(); - void endBandwithIdleCollector(); + void startBandwidthIdleCollector(); + void endBandwidthIdleCollector(); }; @@ -370,9 +370,9 @@ tlm_sync_enum Controller::nb_transport_fw(tlm_generic_payload &payload tlmRecorder->recordPhase(payload, phase, recTime); frontendPEQ.notify(payload, phase, notDelay); - //Bandwith IDLE + //Bandwidth IDLE if ((getTotalNumberOfPayloadsInSystem()== 0)&& idleState){ - endBandwithIdleCollector(); + endBandwidthIdleCollector(); } } else if (phase == END_RESP) @@ -384,7 +384,7 @@ tlm_sync_enum Controller::nb_transport_fw(tlm_generic_payload &payload // Badnwith IDLE if (getTotalNumberOfPayloadsInSystem()==1){ - startBandwithIdleCollector(); + startBandwidthIdleCollector(); } tlmRecorder->recordPhase(payload, phase, recTime); @@ -632,7 +632,7 @@ void Controller::terminateSimulation() } template -void Controller::startBandwithIdleCollector(){ +void Controller::startBandwidthIdleCollector(){ printDebugMessage("IDLE Start"); idleStart = sc_time_stamp(); endTime = sc_time_stamp(); @@ -640,7 +640,7 @@ void Controller::startBandwithIdleCollector(){ } template -void Controller::endBandwithIdleCollector(){ +void Controller::endBandwidthIdleCollector(){ printDebugMessage("IDLE End"); idleTime += sc_time_stamp()-idleStart+ Configuration::getInstance().memSpec.clk; idleState = false; diff --git a/DRAMSys/simulator/src/simulation/Dram.h b/DRAMSys/simulator/src/simulation/Dram.h index 6bc72860..94b54be7 100644 --- a/DRAMSys/simulator/src/simulation/Dram.h +++ b/DRAMSys/simulator/src/simulation/Dram.h @@ -75,7 +75,7 @@ struct Dram : sc_module libDRAMPower *DRAMPower; double sumOfEnergyWindows = 0.0; - // Bandwith realted: + // Bandwidth realted: unsigned long long int numberOfTransactionsServed; sc_time firstAccess; sc_time lastAccess; diff --git a/DRAMSys/simulator/src/simulation/Simulation.cpp b/DRAMSys/simulator/src/simulation/Simulation.cpp index 0260f472..964c6fc4 100644 --- a/DRAMSys/simulator/src/simulation/Simulation.cpp +++ b/DRAMSys/simulator/src/simulation/Simulation.cpp @@ -49,7 +49,7 @@ #include "../common/Utils.h" #include "../simulation/StlDataPlayer.h" #include "../simulation/TemperatureController.h" -#include "../Controller/Controller.h" +#include "../controller/Controller.h" using namespace std;