typos Fixes

This commit is contained in:
Frederik Lauer
2016-05-31 11:54:52 +02:00
parent f69aad431a
commit e45b2afc40
3 changed files with 10 additions and 10 deletions

View File

@@ -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<BUSWIDTH>::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<BUSWIDTH>::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<BUSWIDTH>::terminateSimulation()
}
template<unsigned int BUSWIDTH>
void Controller<BUSWIDTH>::startBandwithIdleCollector(){
void Controller<BUSWIDTH>::startBandwidthIdleCollector(){
printDebugMessage("IDLE Start");
idleStart = sc_time_stamp();
endTime = sc_time_stamp();
@@ -640,7 +640,7 @@ void Controller<BUSWIDTH>::startBandwithIdleCollector(){
}
template<unsigned int BUSWIDTH>
void Controller<BUSWIDTH>::endBandwithIdleCollector(){
void Controller<BUSWIDTH>::endBandwidthIdleCollector(){
printDebugMessage("IDLE End");
idleTime += sc_time_stamp()-idleStart+ Configuration::getInstance().memSpec.clk;
idleState = false;

View File

@@ -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;

View File

@@ -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;