Add nodes to output
This commit is contained in:
parent
87a0f17b28
commit
9c0bfd79f9
1 changed files with 4 additions and 3 deletions
|
@ -117,7 +117,8 @@ class Power:
|
|||
hd += "# all power values have unit Watt\n"
|
||||
hd += "timestamp,RESERVED,head_node_power,avg_node_power,median_node_power,min_node_power,max_node_power,std_dev_node_power"
|
||||
# add node names here instead
|
||||
hd += ",NO_NODE_NAMES_YET\n"
|
||||
hd += "," + ",".join(self.nodes)
|
||||
hd += "\n"
|
||||
return hd
|
||||
|
||||
def body(self):
|
||||
|
@ -141,8 +142,8 @@ class Power:
|
|||
def summarize_epoch(self, epoch):
|
||||
ts, values = epoch
|
||||
return self.summarize_time(ts) \
|
||||
+ self.summarize_values(values)
|
||||
# + values
|
||||
+ self.summarize_values(values) \
|
||||
+ tuple(values)
|
||||
|
||||
@staticmethod
|
||||
def pretty_print(args):
|
||||
|
|
Loading…
Reference in a new issue