aboutsummaryrefslogtreecommitdiff
path: root/src/benchmarks/falsesharing.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/falsesharing.py
parentaf68be15d93ed6ff737bbd2d503e38911f240e9a (diff)
downloadallocbench-4499b5380b97ac0d64e3ba8701f1b8638609b420.tar.gz
allocbench-4499b5380b97ac0d64e3ba8701f1b8638609b420.zip
require a name in Benchmark.__init__
Diffstat (limited to 'src/benchmarks/falsesharing.py')
-rw-r--r--src/benchmarks/falsesharing.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/benchmarks/falsesharing.py b/src/benchmarks/falsesharing.py
index 80e8195..5debd94 100644
--- a/src/benchmarks/falsesharing.py
+++ b/src/benchmarks/falsesharing.py
@@ -36,7 +36,7 @@ class BenchmarkFalsesharing(Benchmark):
"""
def __init__(self):
- self.name = "falsesharing"
+ name = "falsesharing"
self.cmd = "cache-{bench}{binary_suffix} {threads} 100 8 1000000"
@@ -44,7 +44,7 @@ class BenchmarkFalsesharing(Benchmark):
"threads": Benchmark.scale_threads_for_cpus(2)}
self.requirements = ["cache-thrash", "cache-scratch"]
- super().__init__()
+ super().__init__(name)
@staticmethod
def process_output(result, stdout, stderr, allocator, perm):