Commit 160f55cd authored by Azat Khuziyakhmetov's avatar Azat Khuziyakhmetov
Browse files

fixed a bug which caused owerwriting of data

parent 8381e444
......@@ -19,8 +19,12 @@ class ProcData:
mem_swap_max = None
mem_vms = None
cpu_usage = None
seq_cpu_usage = SeqVals()
seq_mem_rss_sum = SeqVals()
seq_cpu_usage = None
seq_mem_rss_sum = None
def __init__(self):
self.seq_cpu_usage = SeqVals()
self.seq_mem_rss_sum = SeqVals()
class AllocCUData:
node_id = None
......@@ -50,9 +54,15 @@ class NodeData:
virt_thr_core = None
phys_thr_core = None
main_mem = None
seq_cpu_usage = SeqVals()
seq_load = SeqVals()
proc = ProcData()
seq_cpu_usage = None
seq_load = None
proc = None
def __init__(self):
self.proc = ProcData()
self.seq_load = SeqVals()
self.seq_cpu_usage = SeqVals()
class Aggregator:
job = JobData()
......
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 to comment