summaryrefslogtreecommitdiff
path: root/src/mem
diff options
context:
space:
mode:
authorMatthias Jung <jungma@eit.uni-kl.de>2016-07-01 10:31:36 -0500
committerMatthias Jung <jungma@eit.uni-kl.de>2016-07-01 10:31:36 -0500
commit86e9a6ffecbeb1ba743c71786e934cf290bab7ff (patch)
tree8b114edcc523409f6b2cb33b9ae910cea2ca4e5a /src/mem
parent137e244bda708e27882aa8b2f13d47cfd17e9d97 (diff)
downloadgem5-86e9a6ffecbeb1ba743c71786e934cf290bab7ff.tar.xz
ext: Update DRAMPower
Sync DRAMPower to external tool This patch syncs the DRAMPower library of gem5 to the external one on github (https://github.com/ravenrd/DRAMPower) of which I am a maintainer. The version used is the commit: 902a00a1797c48a9df97ec88868f20e847680ae6 from 07. May. 2016. Committed by Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'src/mem')
-rw-r--r--src/mem/dram_ctrl.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mem/dram_ctrl.hh b/src/mem/dram_ctrl.hh
index 6cd72b266..f59528492 100644
--- a/src/mem/dram_ctrl.hh
+++ b/src/mem/dram_ctrl.hh
@@ -41,6 +41,7 @@
* Ani Udipi
* Neha Agarwal
* Omar Naji
+ * Matthias Jung
*/
/**
@@ -862,7 +863,7 @@ class DRAMCtrl : public AbstractMemory
*/
static bool sortTime(const Data::MemCommand& m1,
const Data::MemCommand& m2) {
- return m1.getTime() < m2.getTime();
+ return m1.getTimeInt64() < m2.getTimeInt64();
};