TAU_GLOBAL_PHASE(3)

TAU_GLOBAL_PHASE3

Declares a global phase

Usage

C/C++:

TAU_GLOBAL_PHASE(Phase phase, char* or string& function_name, char* or string& type, TauGroup_t group);

Overview

Declares a global phase to be used in multiple compilation units.

Examples

C/C++ :

/* f1.c */
TAU_GLOBAL_PHASE(globalPhase, "global phase", "", TAU_USER);
/* f2.c */
int bar(void) {
  TAU_GLOBAL_PHASE_START(globalPhase);
  /* ... */
  TAU_GLOBAL_PHASE_STOP(globalPhase);
}

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.