SYNOPSIS
C/C++:
- TAU_MAPPING_PROFILE_START(Profiler timer, int tid);
DESCRIPTION
EXAMPLE
C/C++ :
template<class LHS,class Op,class RHS,class EvalTag>
void
ExpressionKernel<LHS,Op,RHS,EvalTag>::run() {
TAU_MAPPING_PROFILE_TIMER(timer, TauMapFI);
printf("ExpressionKernel::run() this = 4854\n", this);
// Just evaluate the expression.
TAU_MAPPING_PROFILE_START(timer);
KernelEvaluator<EvalTag>().evaluate(lhs_m, op_m, rhs_m);
TAU_MAPPING_PROFILE_STOP();
// we could release the locks here instead of in the dtor.
}