Report time in seconds, not miliseconds
This commit is contained in:
parent
f14904f8ca
commit
362416f8aa
1 changed files with 2 additions and 2 deletions
|
@ -100,7 +100,7 @@ class Power:
|
||||||
return fname
|
return fname
|
||||||
|
|
||||||
def header(self):
|
def header(self):
|
||||||
hd = "# all timestamp have unit miliseconds since unix epoch\n"
|
hd = "# all timestamp have unit seconds since unix epoch\n"
|
||||||
hd += "# all power values have unit Watt\n"
|
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_sample_node_power"
|
hd += "timestamp,RESERVED,head_node_power,avg_node_power,median_node_power,min_node_power,max_node_power,std_dev_sample_node_power"
|
||||||
hd += "," + ",".join(self.nodes)
|
hd += "," + ",".join(self.nodes)
|
||||||
|
@ -114,7 +114,7 @@ class Power:
|
||||||
return _body
|
return _body
|
||||||
|
|
||||||
def _summarize_time(self, ts):
|
def _summarize_time(self, ts):
|
||||||
return Power.to_csv(ts, "")
|
return Power.to_csv(ts/1000., "") # time in seconds
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _summarize_values(df):
|
def _summarize_values(df):
|
||||||
|
|
Loading…
Reference in a new issue