32c32
< def __init__(self, jobfile, info, stat=None, binstats=None):
---
> def __init__(self, jobfile, info, stat=None):
36d35
< self.binstats = None
40c39
< def printdata(self, name, bin = None, printmode = 'G'):
---
> def display(self, name, printmode = 'G'):
43,49d41
< if bin:
< print '%s %s stats' % (name, bin)
<
< if self.binstats:
< for stat in self.binstats:
< stat.bins = bin
<
73,82d64
< def display(self, name, binned = False, printmode = 'G'):
< if binned and self.binstats:
< self.printdata(name, 'kernel', printmode)
< self.printdata(name, 'idle', printmode)
< self.printdata(name, 'user', printmode)
< self.printdata(name, 'interrupt', printmode)
<
< print '%s total stats' % name
< self.printdata(name, printmode=printmode)
<