From cddfdeddcc97872f928d8d1cbdcbc13e7f07c99f Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 22 Jan 2019 19:18:33 +0100 Subject: add custom target option the custom target definitions must be a valid python script exporting a global dictionary "targets". --- src/benchmark.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/benchmark.py') 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): -- cgit v1.2.3