Show data usage in summary of measurements
This commit is contained in:
parent
2b1fb662fb
commit
b1ae8bc13e
2 changed files with 3 additions and 2 deletions
|
|
@ -34,11 +34,11 @@ func init() {
|
|||
TotalRuntime: 0,
|
||||
}
|
||||
for _, msmt := range measurements {
|
||||
// We assume that since these are summary level information the first
|
||||
// item will contain the information necessary.
|
||||
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 {
|
||||
msmtSummary.DataUsageUp = msmt.DataUsageUp
|
||||
msmtSummary.DataUsageDown = msmt.DataUsageDown
|
||||
|
|
|
|||
Loading…
Reference in a new issue