Name

TAU_PROFILE_TIMER_SET_TYPE — Changes the type of a timer

Synopsis

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

Description

TAU_PROFILE_TIMER_SET_TYPE macro changes the type associated with a timer to the newname argument.

Example

C/C++ :

void foo() {
  TAU_PROFILE_TIMER(timer1, "foo", "int", TAU_USER);
  ...
  TAU_PROFILE_TIMER_SET_TYPE(timer1, "long");
}