diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2019-01-22 19:18:33 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2019-01-22 19:18:33 +0100 |
| commit | cddfdeddcc97872f928d8d1cbdcbc13e7f07c99f (patch) | |
| tree | b3418f755d29a34bab4ebd212ec53e2a9f7151b6 /src/benchmark.py | |
| parent | d236f892cc82f69b298c260913725ddfa4bea980 (diff) | |
| download | allocbench-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/benchmark.py')
| -rw-r--r-- | src/benchmark.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/benchmark.py b/src/benchmark.py index a0da6a0..4de05e3 100644 --- a/src/benchmark.py +++ b/src/benchmark.py @@ -9,7 +9,7 @@ import pickle import shutil import subprocess -from src.common_targets import common_targets +from src.targets import targets class Benchmark (object): @@ -20,7 +20,7 @@ class Benchmark (object): "measure_cmd" : "perf stat -x, -d", "analyse_cmd" : "memusage -p {} -t", "cmd" : "true", - "targets" : common_targets, + "targets" : targets, } def __init__(self): |
