ext: Add DRAMPower to enable on-line DRAM power modelling
authorAndreas Hansson <andreas.hansson@arm.com>
Thu, 9 Oct 2014 21:52:03 +0000 (17:52 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Thu, 9 Oct 2014 21:52:03 +0000 (17:52 -0400)
commite0e8b08a42210011205b52c3628749f60658e58c
treee6daae3c8cd249f52c6504ee2b7fc07805085429
parentc81517c293cdd3f612efae94d1143fb0cf002287
ext: Add DRAMPower to enable on-line DRAM power modelling

This patch adds the open-source (BSD 3-clause) tool DRAMPower, commit
8d3cf4bbb10aa202d850ef5e5e3e4f53aa668fa6, to be built as a part of the
simulator. We have chosen this specific version of DRAMPower as it
provides the necessary functionality, and future updates will be
coordinated with the DRAMPower development team. The files added only
include the bits needed to build the library, thus excluding all
memory specifications, traces, and the stand-alone DRAMPower
command-line tool.

A future patch includes the DRAMPower functionality in the DRAM
controller, to enable on-line DRAM power modelling, and avoid using
post-processing of traces.
33 files changed:
SConstruct
ext/drampower/ChangeLog [new file with mode: 0644]
ext/drampower/README.md [new file with mode: 0644]
ext/drampower/SConscript [new file with mode: 0644]
ext/drampower/src/CmdScheduler.cc [new file with mode: 0644]
ext/drampower/src/CmdScheduler.h [new file with mode: 0644]
ext/drampower/src/CommandAnalysis.cc [new file with mode: 0644]
ext/drampower/src/CommandAnalysis.h [new file with mode: 0644]
ext/drampower/src/MemArchitectureSpec.cc [new file with mode: 0644]
ext/drampower/src/MemArchitectureSpec.h [new file with mode: 0644]
ext/drampower/src/MemCommand.cc [new file with mode: 0644]
ext/drampower/src/MemCommand.h [new file with mode: 0644]
ext/drampower/src/MemPowerSpec.cc [new file with mode: 0644]
ext/drampower/src/MemPowerSpec.h [new file with mode: 0644]
ext/drampower/src/MemTimingSpec.cc [new file with mode: 0644]
ext/drampower/src/MemTimingSpec.h [new file with mode: 0644]
ext/drampower/src/MemoryPowerModel.cc [new file with mode: 0644]
ext/drampower/src/MemoryPowerModel.h [new file with mode: 0644]
ext/drampower/src/MemorySpecification.cc [new file with mode: 0644]
ext/drampower/src/MemorySpecification.h [new file with mode: 0644]
ext/drampower/src/Parameter.cc [new file with mode: 0644]
ext/drampower/src/Parameter.h [new file with mode: 0644]
ext/drampower/src/Parametrisable.cc [new file with mode: 0644]
ext/drampower/src/Parametrisable.h [new file with mode: 0644]
ext/drampower/src/TraceParser.cc [new file with mode: 0644]
ext/drampower/src/TraceParser.h [new file with mode: 0644]
ext/drampower/src/Utils.h [new file with mode: 0644]
ext/drampower/src/libdrampower/LibDRAMPower.cc [new file with mode: 0644]
ext/drampower/src/libdrampower/LibDRAMPower.h [new file with mode: 0644]
ext/drampower/src/uncrustify.cfg [new file with mode: 0644]
ext/drampower/test/libdrampowertest/Makefile [new file with mode: 0644]
ext/drampower/test/libdrampowertest/commands.trace [new file with mode: 0644]
ext/drampower/test/libdrampowertest/lib_test.cc [new file with mode: 0644]