Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tau_enable_instrumentation(3) [debian man page]

TAU_ENABLE_INSTRUMEN(3) 				      TAU Instrumentation API					   TAU_ENABLE_INSTRUMEN(3)

NAME
TAU_ENABLE_INSTRUMENTATION - Enables instrumentation SYNOPSIS
C/C++: TAU_ENABLE_INSTRUMENTATION(void); Fortran: TAU_ENABLE_INSTRUMENTATION(void); DESCRIPTION
TAU_ENABLE_INSTRUMENTATION macro re-enables all TAU instrumentation. All instances of functions and statements that occur between the disable/enable section are ignored by TAU. This allows a user to limit the trace size, if the macros are used to disable recording of a set of iterations that have the same characteristics as, for example, the first recorded instance. EXAMPLE
C/C++ : int main(int argc, char **argv) { foo(); TAU_DISABLE_INSTRUMENTATION(); for (int i =0; i < N; i++) { bar(); // not recorded } TAU_ENABLE_INSTRUMENTATION(); bar(); // recorded } Fortran : call TAU_DISABLE_INSTRUMENTATION() call TAU_ENABLE_INSTRUMENTATION() SEE ALSO
TAU_DISABLE_INSTRUMENTATION(3), TAU_ENABLE_GROUP(3), TAU_DISABLE_GROUP(3), TAU_INIT(3), TAU_PROFILE_INIT(3) 08/31/2005 TAU_ENABLE_INSTRUMEN(3)

Check Out this Related Man Page

TAU_DISABLE_GROUP_NA(3) 				      TAU Instrumentation API					   TAU_DISABLE_GROUP_NA(3)

NAME
TAU_DISABLE_GROUP_NAME - Disables a group based on name SYNOPSIS
C/C++: TAU_DISABLE_GROUP_NAME(char *groupname); Fortran: TAU_DISABLE_GROUP_NAME(character groupname(size)); DESCRIPTION
Similar to TAU_ENABLE_GROUP_NAME , this macro turns off the instrumentation in all routines associated with the dynamic group created using the tau_instrumentor -g <group_name> argument. EXAMPLE
C/C++ : /* tau_instrumentor was invoked with -g DTM for a set of files */ TAU_DISABLE_GROUP_NAME("DTM"); dtm_routines(); /* disable and then re-enable the group with the name DTM */ TAU_ENABLE_GROUP_NAME("DTM"); Fortran : ! tau_instrumentor was invoked with -g DTM for this file call TAU_PROFILE_TIMER(profiler, "ITERATE>DTM") call TAU_DISABLE_GROUP_NAME("DTM") ! Disable, then re-enable DTM group call TAU_ENABLE_GROUP_NAME("DTM") SEE ALSO
TAU_GET_PROFILE_GROUP(3), TAU_ENABLE_GROUP_NAME(3), TAU_ENABLE_ALL_GROUPS(3), TAU_DISABLE_ALL_GROUPS(3) 08/31/2005 TAU_DISABLE_GROUP_NA(3)
Man Page