summaryrefslogtreecommitdiff
path: root/src/mem/SConscript
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2014-06-30 13:56:03 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2014-06-30 13:56:03 -0400
commit1f539ce4cca35a0e8f145a539509df34f4923100 (patch)
tree4476a28b4363c1f7859edf341285edb2c35730c7 /src/mem/SConscript
parentb4ce51eb9ecfb053e2aacbabba318a41890f436e (diff)
downloadgem5-1f539ce4cca35a0e8f145a539509df34f4923100.tar.xz
mem: DRAMPower trace output
This patch adds a DRAMPower flag to enable off-line DRAM power analysis using the DRAMPower tool. A new DRAMPower flag is added and a follow-on patch adds a Python script to post-process the output and order it based on time stamps. The long-term goal is to link DRAMPower as a library and provide the commands through function calls to the model rather than first printing and then parsing the commands. At the moment it is also up to the user to ensure that the same DRAM configuration is used by the gem5 controller model and DRAMPower.
Diffstat (limited to 'src/mem/SConscript')
-rw-r--r--src/mem/SConscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mem/SConscript b/src/mem/SConscript
index ca1080162..50b00e8db 100644
--- a/src/mem/SConscript
+++ b/src/mem/SConscript
@@ -81,6 +81,7 @@ CompoundFlag('Bus', ['BaseBus', 'BusAddrRanges', 'CoherentBus',
DebugFlag('Bridge')
DebugFlag('CommMonitor')
DebugFlag('DRAM')
+DebugFlag('DRAMPower')
DebugFlag('DRAMState')
DebugFlag('LLSC')
DebugFlag('MMU')