summaryrefslogtreecommitdiff
path: root/util/stats/info.py
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2006-06-10 13:08:43 -0400
committerNathan Binkert <binkertn@umich.edu>2006-06-10 13:08:43 -0400
commit7af93dbdf6c86a915b99da1688f51dc12e7aafff (patch)
tree11f7f8cd446fda9628dd380acf8f65db1f7869cd /util/stats/info.py
parentf1fab2a4469d6cb2e55ebac15da02f8c1fcb7055 (diff)
downloadgem5-7af93dbdf6c86a915b99da1688f51dc12e7aafff.tar.xz
Remove all binning stuff
--HG-- extra : convert_revision : 6da2b3b0b6c2824f2064d42670fd8383edb7c718
Diffstat (limited to 'util/stats/info.py')
-rw-r--r--util/stats/info.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/util/stats/info.py b/util/stats/info.py
index 4cb55f564..c1e18bb3f 100644
--- a/util/stats/info.py
+++ b/util/stats/info.py
@@ -174,7 +174,7 @@ def WrapValue(value):
class Statistic(object):
def __getattr__(self, attr):
if attr in ('data', 'x', 'y'):
- result = self.source.data(self, self.bins, self.ticks)
+ result = self.source.data(self, self.ticks)
self.data = result.data
self.x = result.x
self.y = result.y
@@ -183,7 +183,7 @@ class Statistic(object):
def __setattr__(self, attr, value):
if attr == 'stat':
raise AttributeError, '%s is read only' % stat
- if attr in ('source', 'bins', 'ticks'):
+ if attr in ('source', 'ticks'):
if getattr(self, attr) != value:
if hasattr(self, 'data'):
delattr(self, 'data')
@@ -759,7 +759,6 @@ def NewStat(source, data):
stat = Formula()
stat.__dict__['source'] = source
- stat.__dict__['bins'] = None
stat.__dict__['ticks'] = None
stat.__dict__.update(data.__dict__)