TAU_PROFILE_TIMER_SET_NAME(3)

TAU_PROFILE_TIMER_SET_NAME3

Changes the name of a timer

Usage

C/C++:

TAU_PROFILE_TIMER_SET_NAME(Profiler timer, string newname);

Overview

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

Examples

C/C++ :

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

Releases

Unchanged in 5 releases since Debian 4.0 (Etch).

  1. 4.0–9

From tau 2.17.3.1.dfsg-4.2 in Debian 9 (Stretch). Parsed by carta from the page's man source.