Name

TAU_PROFILE_SET_GROUP_NAME — Changes the group name of a profiled section

Synopsis

C/C++:
TAU_PROFILE_SET_GROUP_NAME( groupname);  
char *  groupname;

Description

TAU_PROFILE_SET_GROUP_NAME macro allows the user to change the group name associated with the instrumented routine. This macro must be called within the instrumented routine.

Example

C/C++ :

void foo() {
  TAU_PROFILE("foo()", "void ()", TAU_USER);
  TAU_PROFILE_SET_GROUP_NAME("Particle"); 
  /* gives a more meaningful group name */
}
    

See Also

TAU_PROFILE