aboutsummaryrefslogtreecommitdiff
path: root/src/benchmark.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/benchmark.py')
-rw-r--r--src/benchmark.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/benchmark.py b/src/benchmark.py
index 38cb5a4..3159fdd 100644
--- a/src/benchmark.py
+++ b/src/benchmark.py
@@ -48,6 +48,9 @@ class Benchmark (object):
return nthreads
+ def __str__(self):
+ return self.name
+
def __init__(self):
# Set default values
for k in Benchmark.defaults: