Name
TAU_DISABLE_GROUP_NAME — Disables a group based on name
Synopsis
C/C++:
TAU_DISABLE_GROUP_NAME(groupname);
char *groupname;
Fortran:
TAU_DISABLE_GROUP_NAME( |
groupname);
|
| 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")
Python:
import pytau
pytau.disableGroupName("DTM")