Include total_runtime in the summary of measurements

This commit is contained in:
Arturo Filastò
2018-09-11 16:36:09 +02:00
parent 8da12a9c07
commit d02ed117f9
3 changed files with 7 additions and 0 deletions
+4
View File
@@ -33,8 +33,12 @@ func init() {
AnomalyCount: 0,
DataUsageUp: 0,
DataUsageDown: 0,
TotalRuntime: 0,
}
for _, msmt := range measurements {
if msmtSummary.TotalRuntime == 0 {
msmtSummary.TotalRuntime = msmt.ResultRuntime
}
// FIXME this logic should be adjusted for test groups that have many
// measurements in them
if msmtSummary.DataUsageUp == 0 {