Commit 3f6c8497 by Maxime Chéramy

Caches: rename penalty arg to access_time.

parent 516a7b63
...@@ -14,8 +14,8 @@ class Cache(object): ...@@ -14,8 +14,8 @@ class Cache(object):
class Cache_LRU(Cache): class Cache_LRU(Cache):
def __init__(self, name, identifier, size, associativity, penalty): def __init__(self, name, identifier, size, associativity, access_time):
Cache.__init__(self, name, identifier, size, associativity, penalty) Cache.__init__(self, name, identifier, size, associativity, access_time)
self._groups = None self._groups = None
def init(self): def init(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment