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/larson.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/benchmarks/larson.py') diff --git a/src/benchmarks/larson.py b/src/benchmarks/larson.py index 191697f..0e6c91e 100644 --- a/src/benchmarks/larson.py +++ b/src/benchmarks/larson.py @@ -33,7 +33,7 @@ class BenchmarkLarson(Benchmark): """ def __init__(self): - self.name = "larson" + name = "larson" # Parameters taken from the paper "Memory Allocation for Long-Running Server # Applications" from Larson and Krishnan @@ -43,7 +43,7 @@ class BenchmarkLarson(Benchmark): "threads": Benchmark.scale_threads_for_cpus(2)} self.requirements = ["larson"] - super().__init__() + super().__init__(name) @staticmethod def process_output(result, stdout, stderr, target, perm): -- cgit v1.2.3