TAU_PROFILE_TIMER_SET_TYPE
Changes the type of a timer
- Provided by: tau (Version: 2.17.3.1.dfsg-4)
- Report a bug
Changes the type of a timer
C/C++:
TAU_PROFILE_TIMER_SET_TYPE(Profiler timer, string newname);
TAU_PROFILE_TIMER_SET_TYPE macro changes the type associated with a timer to the newname argument.
C/C++ :
void foo() {
TAU_PROFILE_TIMER(timer1, "foo", "int", TAU_USER);
...
TAU_PROFILE_TIMER_SET_TYPE(timer1, "long");
}