remove the module specific and hard coded interval in cpu_usage
This commit is contained in:
parent
22b5abf899
commit
6dbc2c78e5
@ -40,7 +40,6 @@ class CpuUsage(IntervalModule):
|
|||||||
def init(self):
|
def init(self):
|
||||||
self.prev_total = defaultdict(int)
|
self.prev_total = defaultdict(int)
|
||||||
self.prev_busy = defaultdict(int)
|
self.prev_busy = defaultdict(int)
|
||||||
self.interval = 1
|
|
||||||
self.formatter = Formatter()
|
self.formatter = Formatter()
|
||||||
|
|
||||||
def get_cpu_timings(self):
|
def get_cpu_timings(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user