aboutsummaryrefslogtreecommitdiff
path: root/src/benchmarks/realloc.py
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2019-08-29 12:14:32 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2019-08-29 12:14:32 +0200
commit4499b5380b97ac0d64e3ba8701f1b8638609b420 (patch)
treee0e531c4b94f78ed29b1380d061a255be8f19244 /src/benchmarks/realloc.py
parentaf68be15d93ed6ff737bbd2d503e38911f240e9a (diff)
downloadallocbench-4499b5380b97ac0d64e3ba8701f1b8638609b420.tar.gz
allocbench-4499b5380b97ac0d64e3ba8701f1b8638609b420.zip
require a name in Benchmark.__init__
Diffstat (limited to 'src/benchmarks/realloc.py')
-rw-r--r--src/benchmarks/realloc.py6
1 files changed, 2 insertions, 4 deletions
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}",