21 #ifndef _PORTABLE_PERF_ANALYZER_HH 22 #define _PORTABLE_PERF_ANALYZER_HH 24 #include "utilities.h" 27 template <
class Action>
31 MESSAGE(
"Portable_Perf_Analyzer Ctor");
34 INFOS(
"Copy Ctor not implemented");
38 MESSAGE(
"Portable_Perf_Analyzer Dtor");
71 action.check_result();
73 return action.nb_op_base()/(time_action*1e6);
81 for (
unsigned int ii=0;ii<
_nb_calc;ii++)
102 #endif //_PORTABLE_PERF_ANALYZER_HH
Portable_Perf_Analyzer(const Portable_Perf_Analyzer &)
BTL_DONT_INLINE double eval_mflops(int size)
unsigned long long _nb_calc
~Portable_Perf_Analyzer()
unsigned long long get_nb_calc()
BTL_DONT_INLINE double time_calculate(Action &action)
static BtlConfig Instance