Commit 9540f6ee authored by Alain O' Miniussi's avatar Alain O' Miniussi

report cpu time in hours

parent dc7910bc
......@@ -70,7 +70,7 @@ Highcharts.chart('container', {
}
},
tooltip: {
valueSuffix: 's'
valueSuffix: 'h'
},
series: [{
name: 'Units',
......@@ -92,7 +92,7 @@ Highcharts.chart('container', {
formatter: function () {
// display only if larger than 1
return this.y > 1 ? '<b>' + this.point.name + ':</b> ' +
this.y + 's' : null;
this.y + 'h' : null;
}
},
id: 'teams'
......
......@@ -58,7 +58,8 @@ do
cpu_times=$(cat $idir/$unit/teams.sorted | awk '{print $2;}')
for cpu_time in $cpu_times
do
echo " $cpu_time,"
let hours=cpu_time/60/60
echo " $hours,"
done
echo " ]"
echo " }"
......
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