---
name: "TAU_PROFILE_SET_GROUP_NAME"
section: "3"
platform: "linux"
package: "tau"
version: "2.17.3.1.dfsg-4.2"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/TAU_PROFILE_SET_GROUP_NAME"
---

# TAU\_PROFILE\_SET\_GROUP\_NAME(3)

Changes the group name of a profiled section

## NAME

TAU\_PROFILE\_SET\_GROUP\_NAME - Changes the group name of a profiled section

## SYNOPSIS

**C/C++:**

**TAU\_PROFILE\_SET\_GROUP\_NAME(char \****groupname***);**

## DESCRIPTION

TAU\_PROFILE\_SET\_GROUP\_NAME macro allows the user to change the group name associated with the instrumented routine. This macro must be called within the instrumented routine.

## EXAMPLE

**C/C++ :**

```
void foo() {
  TAU_PROFILE("foo()", "void ()", TAU_USER);
  TAU_PROFILE_SET_GROUP_NAME("Particle");
  /* gives a more meaningful group name */
}
```

## SEE ALSO

TAU\_PROFILE
