X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=nfvbench%2Fsummarizer.py;h=0759933100b54a77d6b09462a38fa078650fc627;hb=2b2cffb0bfcc05bd345f14dafea07860d70e047f;hp=7e2d129a03adc00c50774c6f580ff00f9597b2e6;hpb=f684939fed81471c1381fa4fab6e1b6ea37093da;p=nfvbench.git diff --git a/nfvbench/summarizer.py b/nfvbench/summarizer.py index 7e2d129..0759933 100644 --- a/nfvbench/summarizer.py +++ b/nfvbench/summarizer.py @@ -263,8 +263,9 @@ class NFVBenchSummarizer(Summarizer): # add percentiles headers if hdrh enabled if not self.config.disable_hdrh: for percentile in self.config.lat_percentiles: - self.ndr_pdr_header.append(str(percentile) + ' %ile lat.', Formatter.standard) - self.single_run_header.append(str(percentile) + ' %ile lat.', Formatter.standard) + # 'append' expects a single parameter => double parentheses + self.ndr_pdr_header.append((str(percentile) + ' %ile lat.', Formatter.standard)) + self.single_run_header.append((str(percentile) + ' %ile lat.', Formatter.standard)) # if sender is available initialize record if self.sender: self.__record_init() @@ -566,7 +567,8 @@ class NFVBenchSummarizer(Summarizer): str(percentile) + ' %ile lat.' for key in lat_map: - header.append(lat_map[key], Formatter.standard) + # 'append' expects a single parameter => double parentheses + header.append((lat_map[key], Formatter.standard)) table = Table(header) for chain in sorted(list(chains.keys()), key=str):