/gem5/ext/drampower/src/libdrampower/ |
H A D | LibDRAMPower.cc | 46 libDRAMPower::libDRAMPower(const MemorySpecification& memSpec, bool includeIoAndTermination) : argument 47 memSpec(memSpec), 48 counters(memSpec), 52 MemBankWiseParams p (100,100,false,0,false,static_cast<unsigned>(memSpec.memArchSpec.nbrOfBanks)); 53 libDRAMPower DRAMPower = libDRAMPower(memSpec, 0, p); 56 libDRAMPower::libDRAMPower(const MemorySpecification& memSpec, bool includeIoAndTermination, const Data::MemBankWiseParams& bwPowerParams) : argument 57 memSpec(memSpec), 58 counters(CommandAnalysis(memSpec)), [all...] |
H A D | LibDRAMPower.h | 56 libDRAMPower(const Data::MemorySpecification& memSpec, bool includeIoAndTermination); 57 libDRAMPower(const Data::MemorySpecification& memSpec, bool includeIoAndTermination,const Data::MemBankWiseParams& bwPowerParams); 80 Data::MemorySpecification memSpec; member in class:libDRAMPower
|
/gem5/ext/drampower/src/ |
H A D | TraceParser.h | 51 TraceParser(const Data::MemorySpecification& memSpec); 61 void parseFile(Data::MemorySpecification memSpec,
|
H A D | CmdScheduler.h | 114 void transTranslation(const MemorySpecification& memSpec, 122 const MemorySpecification& memSpec); 124 void schedulingInitialization(const MemorySpecification& memSpec); 126 void analyticalScheduling(const MemorySpecification& memSpec); 129 const MemorySpecification& memSpec); 133 const MemorySpecification& memSpec); 137 const MemorySpecification& memSpec); 140 const MemorySpecification& memSpec,
|
H A D | MemCommand.cc | 77 int64_t MemCommand::getPrechargeOffset(const MemorySpecification& memSpec, argument 82 int64_t BL = memSpec.memArchSpec.burstLength; 83 int64_t RTP = memSpec.memTimingSpec.RTP; 84 int64_t dataRate = memSpec.memArchSpec.dataRate; 85 int64_t AL = memSpec.memTimingSpec.AL; 86 int64_t WL = memSpec.memTimingSpec.WL; 87 int64_t WR = memSpec.memTimingSpec.WR; 90 const MemoryType::MemoryType_t& memType = memSpec.memoryType;
|
H A D | TraceParser.cc | 45 TraceParser::TraceParser(const MemorySpecification& memSpec) : argument 46 counters(memSpec) 77 void TraceParser::parseFile(MemorySpecification memSpec, std::ifstream& trace, argument 83 counters = CommandAnalysis(memSpec); 88 cmdsched.transTranslation(memSpec, trace, grouping, interleaving, burst, powerdown);
|
H A D | CmdScheduler.cc | 54 void cmdScheduler::transTranslation(const MemorySpecification& memSpec, argument 58 const MemArchitectureSpec& memArchSpec = memSpec.memArchSpec; 69 schedulingInitialization(memSpec); 70 getTrans(trans_trace, memSpec); 83 void cmdScheduler::schedulingInitialization(const MemorySpecification& memSpec) argument 85 const MemTimingSpec& memTimingSpec = memSpec.memTimingSpec; 87 const size_t numBanks = static_cast<size_t>(memSpec.memArchSpec.nbrOfBanks); 91 bankaccess = memSpec.memArchSpec.nbrOfBanks; 103 for (int64_t i = 0; i < memSpec.memArchSpec.nbrOfBanks; i++) { 107 if (memSpec 138 getTrans(std::ifstream& trans_trace, const MemorySpecification& memSpec) argument 199 analyticalScheduling(const MemorySpecification& memSpec) argument 450 pdScheduling(int64_t endTime, int64_t timer, const MemorySpecification& memSpec) argument 497 getRWTP(int64_t transType, const MemorySpecification& memSpec) argument 550 getTimingConstraints(bool BGSwitch, const MemorySpecification& memSpec, int64_t PreType, int64_t CurrentType) argument 607 memoryMap(trans Trans, const MemorySpecification& memSpec) argument [all...] |
H A D | CmdHandlers.cc | 123 last_pre_cycle = timestamp + memSpec.memTimingSpec.RFC - memSpec.memTimingSpec.RP; 125 actcycles += memSpec.memTimingSpec.RFC - memSpec.memTimingSpec.RP; 127 e += memSpec.memTimingSpec.RFC - memSpec.memTimingSpec.RP; 146 actcyclesBanks[bank] += memSpec.memTimingSpec.RAS + memSpec.memTimingSpec.RP; 303 const MemTimingSpec& t = memSpec.memTimingSpec; 311 if (memSpec [all...] |
H A D | CommandAnalysis.cc | 63 CommandAnalysis::CommandAnalysis(const Data::MemorySpecification& memSpec) : argument 64 memSpec(memSpec) 67 auto &nBanks = memSpec.memArchSpec.nbrOfBanks; 186 int64_t preTime = max(cmd.getTimeInt64() + cmd.getPrechargeOffset(memSpec, cmdType), 187 activation_cycle[cmd.getBank()] + memSpec.memTimingSpec.RAS); 289 memSpec.memTimingSpec.RP);
|
H A D | MemoryPowerModel.h | 59 void power_calc(const MemorySpecification& memSpec, 216 void power_print(const MemorySpecification& memSpec, 222 void io_term_power(const MemorySpecification& memSpec);
|
H A D | CAHelpers.cc | 55 const MemTimingSpec& memTimingSpec = memSpec.memTimingSpec; 56 const MemArchitectureSpec& memArchSpec = memSpec.memArchSpec;
|
H A D | MemCommand.h | 125 int64_t getPrechargeOffset(const MemorySpecification& memSpec,
|
H A D | MemoryPowerModel.cc | 62 void MemoryPowerModel::power_calc(const MemorySpecification& memSpec, argument 67 const MemTimingSpec& t = memSpec.memTimingSpec; 68 const MemArchitectureSpec& memArchSpec = memSpec.memArchSpec; 69 const MemPowerSpec& mps = memSpec.memPowerSpec; 70 const int64_t nbrofBanks = memSpec.memArchSpec.nbrOfBanks; 138 io_term_power(memSpec); 375 void MemoryPowerModel::power_print(const MemorySpecification& memSpec, int term, const CommandAnalysis& c, bool bankwiseMode) const argument 377 const MemTimingSpec& memTimingSpec = memSpec.memTimingSpec; 378 const MemArchitectureSpec& memArchSpec = memSpec.memArchSpec; 381 const int64_t nbrofBanks = memSpec 579 io_term_power(const MemorySpecification& memSpec) argument [all...] |
H A D | CommandAnalysis.h | 67 CommandAnalysis(const MemorySpecification& memSpec); 144 MemorySpecification memSpec; member in class:Data::CommandAnalysis
|
/gem5/ext/drampower/test/libdrampowertest/ |
H A D | lib_test.cc | 56 MemorySpecification memSpec(MemSpecParser::getMemSpecFromXML(filename)); 58 MemorySpecification memSpec; local 60 libDRAMPower test = libDRAMPower(memSpec, 0); 134 //In total energy calculated for both ranks= test.memSpec.memArchSpec * 138 std::cout << "ACT Stdby Energy total ranks: " << static_cast<double>(memSpec.memArchSpec.nbrOfRanks) *
|
/gem5/src/mem/ |
H A D | drampower.cc | 139 Data::MemorySpecification memSpec; local 140 memSpec.memArchSpec = getArchParams(p); 141 memSpec.memTimingSpec = getTimingParams(p); 142 memSpec.memPowerSpec = getPowerParams(p); 143 return memSpec;
|