aboutsummaryrefslogtreecommitdiff
path: root/src/benchmarks/t_test1.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/benchmarks/t_test1.py')
-rw-r--r--src/benchmarks/t_test1.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/benchmarks/t_test1.py b/src/benchmarks/t_test1.py
index 057c158..5d3c6cc 100644
--- a/src/benchmarks/t_test1.py
+++ b/src/benchmarks/t_test1.py
@@ -27,7 +27,7 @@ class BenchmarkTTest1(Benchmark):
"""
def __init__(self):
- self.name = "t_test1"
+ name = "t_test1"
self.cmd = "t-test1 {nthreads} {nthreads} 1000000 {maxsize}"
@@ -35,7 +35,7 @@ class BenchmarkTTest1(Benchmark):
"nthreads": Benchmark.scale_threads_for_cpus(2)}
self.requirements = ["t-test1"]
- super().__init__()
+ super().__init__(name)
def summary(self):
# mops / per second