write to the correct cell

pull/12545/head
Sharif Elgamal 2021-09-23 09:51:11 -07:00
parent 6388a1be0e
commit 03d9b16c7b
1 changed files with 3 additions and 0 deletions

View File

@ -81,6 +81,9 @@ func (rm *resultManager) summarizeResults(binaries []*Binary) {
for i, b := range binaries {
for t := range rm.results[b].results {
index := 0
if t == "ingress" {
index = 1
}
totalTimes[t][b.Name()] = rm.totalTimes(b, t)
table[index][i+1] = fmt.Sprintf("%.1fs", average(totalTimes[t][b.Name()]))
}