Fix wrong cases info

This commit is contained in:
Andrey Pohilko 2013-02-21 16:58:00 +04:00
parent 4e4c236a02
commit 64dbf7857e

View File

@ -636,7 +636,7 @@ class CasesBlock(AbstractBlock):
self.cases[name] = [0, 0]
self.max_case_len = max(self.max_case_len, len(name))
self.cases[name][0] += case.RPS
self.cases[name][1] += case.avg_response_time
self.cases[name][1] += case.avg_response_time * case.RPS
self.count += case.RPS
def render(self):