aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/btl/generic_bench/static/static_size_generator.hh
diff options
context:
space:
mode:
Diffstat (limited to 'bench/btl/generic_bench/static/static_size_generator.hh')
-rw-r--r--bench/btl/generic_bench/static/static_size_generator.hh5
1 files changed, 3 insertions, 2 deletions
diff --git a/bench/btl/generic_bench/static/static_size_generator.hh b/bench/btl/generic_bench/static/static_size_generator.hh
index 50f063bc0..dd02df3f1 100644
--- a/bench/btl/generic_bench/static/static_size_generator.hh
+++ b/bench/btl/generic_bench/static/static_size_generator.hh
@@ -27,12 +27,13 @@ using namespace std;
template <int SIZE,template<class> class Perf_Analyzer, template<class> class Action, template<class,int> class Interface>
struct static_size_generator{
- static void go(vector<double> & tab_sizes, vector<double> & tab_mflops)
+ static void go(vector<double> & tab_sizes, vector<double> & tab_mflops)
{
tab_sizes.push_back(SIZE);
-
+ std::cout << tab_sizes.back() << " \t" << std::flush;
Perf_Analyzer<Action<Interface<REAL_TYPE,SIZE> > > perf_action;
tab_mflops.push_back(perf_action.eval_mflops(SIZE));
+ std::cout << tab_mflops.back() << " MFlops" << std::endl;
static_size_generator<SIZE-1,Perf_Analyzer,Action,Interface>::go(tab_sizes,tab_mflops);
};
};