diff options
Diffstat (limited to 'bench/btl/generic_bench/bench.hh')
-rw-r--r-- | bench/btl/generic_bench/bench.hh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/bench/btl/generic_bench/bench.hh b/bench/btl/generic_bench/bench.hh index f46965c2f..484b526e3 100644 --- a/bench/btl/generic_bench/bench.hh +++ b/bench/btl/generic_bench/bench.hh @@ -19,6 +19,8 @@ // #ifndef BENCH_HH #define BENCH_HH + +#include "btl.hh" #include "bench_parameter.hh" #include <iostream> #include "utilities.h" @@ -34,9 +36,10 @@ using namespace std; template <template<class> class Perf_Analyzer, class Action> -void bench( int size_min, int size_max, int nb_point ){ - - // bench name +void bench( int size_min, int size_max, int nb_point ) +{ + if (BtlConfig::skipAction(Action::name())) + return; string filename="bench_"+Action::name()+".dat"; |