diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2013-02-10 21:43:08 -0600 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2013-02-10 21:43:08 -0600 |
commit | 9d6d6c67180533464fc839a8a6da182226cb3ee2 (patch) | |
tree | 04ebc1303b13c2aa4967120397b62977447d0096 /src/mem/ruby/system/PseudoLRUPolicy.hh | |
parent | 221d39284e2b5b220ab72f3999db7f9d42c68a60 (diff) | |
download | gem5-9d6d6c67180533464fc839a8a6da182226cb3ee2.tar.xz |
ruby: replace Time with Tick in replacement policy classes
Diffstat (limited to 'src/mem/ruby/system/PseudoLRUPolicy.hh')
-rw-r--r-- | src/mem/ruby/system/PseudoLRUPolicy.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/ruby/system/PseudoLRUPolicy.hh b/src/mem/ruby/system/PseudoLRUPolicy.hh index 3cc2a5dfe..4b6ba0db6 100644 --- a/src/mem/ruby/system/PseudoLRUPolicy.hh +++ b/src/mem/ruby/system/PseudoLRUPolicy.hh @@ -50,7 +50,7 @@ class PseudoLRUPolicy : public AbstractReplacementPolicy PseudoLRUPolicy(Index num_sets, Index assoc); ~PseudoLRUPolicy(); - void touch(Index set, Index way, Time time); + void touch(Index set, Index way, Tick time); Index getVictim(Index set) const; private: @@ -96,7 +96,7 @@ PseudoLRUPolicy::~PseudoLRUPolicy() } inline void -PseudoLRUPolicy::touch(Index set, Index index, Time time) +PseudoLRUPolicy::touch(Index set, Index index, Tick time) { assert(index >= 0 && index < m_assoc); assert(set >= 0 && set < m_num_sets); |