Name

TAU_PROFILE_TIMER_SET_NAME — Changes the name of a timer

Synopsis

C/C++:
TAU_PROFILE_TIMER_SET_NAME( timer,  
  newname);  
Profiler   timer;
string   newname;

Description

TAU_PROFILE_TIMER_SET_NAME macro changes the name associated with a timer to the newname argument.

Example

C/C++ :

void foo() {
  TAU_PROFILE_TIMER(timer1, "foo:loop1", " ", TAU_USER);
  ...
  TAU_PROFILE_TIMER_SET_NAME(timer1, "foo:lines 21-34");
}