diff options
author | Nathan Binkert <binkertn@umich.edu> | 2006-06-11 23:02:50 -0400 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2006-06-11 23:02:50 -0400 |
commit | df4b4f001e4db902297acf3b75480e4886e4e882 (patch) | |
tree | 5f1053fe9a36fb7b11750db8e4fab1d089ea94d0 /util/stats/info.py | |
parent | e0140202bd5f0d16d25e526283047e5a2ef5dc0c (diff) | |
parent | 3c95f5958fd1a90cf83d85e1b24fb700c07bae91 (diff) | |
download | gem5-df4b4f001e4db902297acf3b75480e4886e4e882.tar.xz |
Merge zizzer.eecs.umich.edu:/bk/newmem
into iceaxe.:/Volumes/work/research/m5/newmem
--HG--
extra : convert_revision : e457e807b29d8ff88ac335cd50acd596e7e31eee
Diffstat (limited to 'util/stats/info.py')
-rw-r--r-- | util/stats/info.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/util/stats/info.py b/util/stats/info.py index 4954b0519..193159b4c 100644 --- a/util/stats/info.py +++ b/util/stats/info.py @@ -176,7 +176,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 @@ -185,7 +185,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') @@ -761,7 +761,6 @@ def NewStat(source, data): stat = Formula() stat.__dict__['source'] = source - stat.__dict__['bins'] = None stat.__dict__['ticks'] = None stat.__dict__.update(data.__dict__) |