From 290a7e7c5c059c1309ca3d02ea3158e2ca9ac338 Mon Sep 17 00:00:00 2001 From: Radhika Jagtap Date: Mon, 19 Dec 2016 10:32:40 +0000 Subject: ext, mem: Pull DRAMPower SHA 90d6290 and rebase This patch syncs the DRAMPower library of gem5 to the external github (https://github.com/ravenrd/DRAMPower). The version pulled in is the commit: 90d6290f802c29b3de9e10233ceee22290907ce6 from 30th Oct. 2016. This change also modifies the DRAM Ctrl interaction with the DRAMPower, due to changes in the lib API in the above version. Previously multiple functions were called to prepare the power lib before calling the function that would calculate the enery. With the new API, these functions are encompassed inside the function to calculate the energy and therefore should now be removed from the DRAM controller. The other key difference is the introduction of a new function called calcWindowEnergy which can be useful for any system that wants to do measurements over intervals. For gem5 DRAM ctrl that means we now need to accumulate the window energy measurements into the total stat. Change-Id: I3570fff2805962e166ff2a1a3217ebf2d5a197fb Reviewed-by: Nikos Nikoleris Reviewed-by: Andreas Sandberg Reviewed-on: https://gem5-review.googlesource.com/5724 Maintainer: Nikos Nikoleris Maintainer: Andreas Sandberg --- ext/drampower/SConscript | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ext/drampower/SConscript') diff --git a/ext/drampower/SConscript b/ext/drampower/SConscript index 2330aa85f..0518197bc 100644 --- a/ext/drampower/SConscript +++ b/ext/drampower/SConscript @@ -59,6 +59,9 @@ DRAMPowerFile('MemorySpecification.cc') DRAMPowerFile('Parameter.cc') DRAMPowerFile('Parametrisable.cc') DRAMPowerFile('libdrampower/LibDRAMPower.cc') +DRAMPowerFile('CAHelpers.cc') +DRAMPowerFile('CmdHandlers.cc') +DRAMPowerFile('MemBankWiseParams.cc') main.Library('drampower', [main.SharedObject(f) for f in drampower_files]) -- cgit v1.2.3