TAU_GET_PROFILE_GROUP(3)

TAU_GET_PROFILE_GROUP3

Creates groups based on names

Usage

C/C++:

TAU_GET_PROFILE_GROUP(char *groupname);

Overview

TAU_GET_PROFILE_GROUP allows the user to dynamically create groups based on strings, rather than use predefined, statically assigned groups such as TAU_USER1, TAU_USER2 etc. This allows names to be associated in creating unique groups that are more meaningful, using names of files or directories for instance.

Examples

C/C++ :

#define PARTICLES TAU_GET_PROFILE_GROUP("PARTICLES")
void foo() {
  TAU_PROFILE("foo()", " ", PARTICLES);
}
void bar() {
  TAU_PROFILE("bar()", " ", PARTICLES);
}

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.