From 4499b5380b97ac0d64e3ba8701f1b8638609b420 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Thu, 29 Aug 2019 12:14:32 +0200 Subject: require a name in Benchmark.__init__ --- src/benchmarks/realloc.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/benchmarks/realloc.py') diff --git a/src/benchmarks/realloc.py b/src/benchmarks/realloc.py index ad31818..05edba1 100644 --- a/src/benchmarks/realloc.py +++ b/src/benchmarks/realloc.py @@ -26,14 +26,12 @@ class BenchmarkRealloc(Benchmark): realloc a pointer 100 times """ def __init__(self): - self.name = "realloc" + name = "realloc" self.cmd = "realloc" - self.args = {"oneshot": [1]} - self.requirements = ["realloc"] - super().__init__() + super().__init__(name) def summary(self): self.barplot_single_arg("{task-clock}", -- cgit v1.2.3