debian man page for tau_mapping_profile

Query: tau_mapping_profile

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

TAU_MAPPING_PROFILE(3)						  TAU Mapping API					    TAU_MAPPING_PROFILE(3)

NAME
TAU_MAPPING_PROFILE - Profiles a block based on a mapping
SYNOPSIS
C/C++: TAU_MAPPING_PROFILE(FunctionInfo *FuncIdVar);
DESCRIPTION
The TAU_MAPPING_PROFILE macro measures the time and attributes it to the statement mapped in TAU_MAPPING macro. It takes as its argument the identifier of the higher level statement that is stored using TAU_MAPPING_OBJECT and linked to the statement using TAU_MAPPING_LINK macros. TAU_MAPPING_PROFILE measures the time spent in the entire block in which it is invoked. For example, if the time spent in the run method of the class does work that must be associated with the higher-level array expression, then, we can instrument it as follows:
EXAMPLE
C/C++ : // Evaluate the kernel // Just tell an InlineEvaluator to do it. template<class LHS,class Op,class RHS,class EvalTag> void ExpressionKernel<LHS,Op,RHS,EvalTag>::run() { TAU_MAPPING_PROFILE(TauMapFI) // Just evaluate the expression. KernelEvaluator<EvalTag>().evalate(lhs_m,op_m,rhs_m); // we could release the locks here or in dtor }
SEE ALSO
TAU_MAPPING_CREATE(3), TAU_MAPPING_LINK(3), TAU_MAPPING_OBJECT(3) 08/31/2005 TAU_MAPPING_PROFILE(3)
Related Man Pages
tau_mapping_profile(3) - debian
tau_mapping_profile_timer(3) - debian
creator(3u) - php
rdf::query::algebra::minus(3pm) - debian
rdf::query::algebra::union(3pm) - debian
Similar Topics in the Unix Linux Community
Could anyone help explain this?
Question about IO redirection
HELP! If statement with remainder testing
How to evaluate a variable name on LHS of expression?