Enables a group based on name
C/C++: TAU_ENABLE_GROUP_NAME(char *groupname);
Fortran: TAU_ENABLE_GROUP_NAME(character groupname(size));
TAU_ENABLE_GROUP_NAME macro can turn on the instrumentation associated with routines based on a dynamic group assigned to them. It is important to note that this and the TAU_DISABLE_GROUP_NAME macros apply to groups created dynamically using TAU_GET_PROFILE_GROUP.
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")