aboutsummaryrefslogtreecommitdiff
path: root/src/mysql.py
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2019-01-22 19:18:33 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2019-01-22 19:18:33 +0100
commitcddfdeddcc97872f928d8d1cbdcbc13e7f07c99f (patch)
treeb3418f755d29a34bab4ebd212ec53e2a9f7151b6 /src/mysql.py
parentd236f892cc82f69b298c260913725ddfa4bea980 (diff)
downloadallocbench-cddfdeddcc97872f928d8d1cbdcbc13e7f07c99f.tar.gz
allocbench-cddfdeddcc97872f928d8d1cbdcbc13e7f07c99f.zip
add custom target option
the custom target definitions must be a valid python script exporting a global dictionary "targets".
Diffstat (limited to 'src/mysql.py')
-rw-r--r--src/mysql.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mysql.py b/src/mysql.py
index 6d19a97..f9b75e2 100644
--- a/src/mysql.py
+++ b/src/mysql.py
@@ -10,7 +10,7 @@ from subprocess import PIPE
from time import sleep
from src.benchmark import Benchmark
-from src.common_targets import common_targets
+from src.targets import targets
cwd = os.getcwd()
@@ -30,7 +30,7 @@ class Benchmark_MYSQL( Benchmark ):
self.descrition = """See sysbench documentation."""
# mysqld fails with hoard somehow
- self.targets = copy.copy(common_targets)
+ self.targets = copy.copy(targets)
if "hoard" in self.targets:
del(self.targets["hoard"])