summaryrefslogtreecommitdiff
path: root/src/mem/ruby/system/LRUPolicy.hh
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2013-02-10 21:43:08 -0600
committerNilay Vaish <nilay@cs.wisc.edu>2013-02-10 21:43:08 -0600
commit9d6d6c67180533464fc839a8a6da182226cb3ee2 (patch)
tree04ebc1303b13c2aa4967120397b62977447d0096 /src/mem/ruby/system/LRUPolicy.hh
parent221d39284e2b5b220ab72f3999db7f9d42c68a60 (diff)
downloadgem5-9d6d6c67180533464fc839a8a6da182226cb3ee2.tar.xz
ruby: replace Time with Tick in replacement policy classes
Diffstat (limited to 'src/mem/ruby/system/LRUPolicy.hh')
-rw-r--r--src/mem/ruby/system/LRUPolicy.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mem/ruby/system/LRUPolicy.hh b/src/mem/ruby/system/LRUPolicy.hh
index b1b9d7478..622e28659 100644
--- a/src/mem/ruby/system/LRUPolicy.hh
+++ b/src/mem/ruby/system/LRUPolicy.hh
@@ -39,7 +39,7 @@ class LRUPolicy : public AbstractReplacementPolicy
LRUPolicy(Index num_sets, Index assoc);
~LRUPolicy();
- void touch(Index set, Index way, Time time);
+ void touch(Index set, Index way, Tick time);
Index getVictim(Index set) const;
};
@@ -55,7 +55,7 @@ LRUPolicy::~LRUPolicy()
}
inline void
-LRUPolicy::touch(Index set, Index index, Time time)
+LRUPolicy::touch(Index set, Index index, Tick time)
{
assert(index >= 0 && index < m_assoc);
assert(set >= 0 && set < m_num_sets);
@@ -67,7 +67,7 @@ inline Index
LRUPolicy::getVictim(Index set) const
{
// assert(m_assoc != 0);
- Time time, smallest_time;
+ Tick time, smallest_time;
Index smallest_index;
smallest_index = 0;