aboutsummaryrefslogtreecommitdiff
path: root/src/benchmarks/falsesharing.py
diff options
context:
space:
mode:
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):