Compare commits

..

3 commits

2 changed files with 4 additions and 4 deletions

View file

@ -100,7 +100,7 @@ class Power:
return fname
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 += "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)
@ -114,7 +114,7 @@ class Power:
return _body
def _summarize_time(self, ts):
return Power.to_csv(ts, "")
return Power.to_csv(ts/1000., "") # time in seconds
@staticmethod
def _summarize_values(df):

View file

@ -31,7 +31,7 @@ set title " Job ID $id
set title noenhanced
set xlabel "time since jobstart [s]"
set ylabel "power [W]"
set key left top
set key bottom right
set grid
do for [t in ts ] {
@ -39,7 +39,7 @@ do for [t in ts ] {
set arrow from t-tmin, graph 0 to t-tmin, graph 0.95 nohead
}
plot fn u (\$1-tmin):3 w l lc "red" t "head", "" u (\$1-tmin):(\$4-\$8):(\$4+\$8) w filledcurves lc "skyblue" fs transparent solid 0.5 t "nodes avg+-stddev", "" u (\$1-tmin):5 w l lc "blue" t "nodes median"
plot fn u (\$1-tmin):3 w l lc "red" t "head", "" u (\$1-tmin):(\$4-\$8):(\$4+\$8) w filledcurves lc "skyblue" fs transparent solid 0.5 t "nodes avg+-stddev", "" u (\$1-tmin):5 w l lc "blue" t "nodes median", "" u (\$1-tmin):6 w l lc "grey" t "nodes min"
EOF