From 9d6d6c67180533464fc839a8a6da182226cb3ee2 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Sun, 10 Feb 2013 21:43:08 -0600 Subject: ruby: replace Time with Tick in replacement policy classes --- src/mem/ruby/system/LRUPolicy.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mem/ruby/system/LRUPolicy.hh') 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; -- cgit v1.2.3