Ubuntu Manpages

TAU_GLOBAL_PHASE_EXTERNAL

Declares a global phase from an external compilation unit

C/C++:

TAU_GLOBAL_PHASE_EXTERNAL(Profiler timer);

TAU_GLOBAL_PHASE_EXTERNAL allows you to access a phase defined in another compilation unit.

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);
}
    

TAU_GLOBAL_PHASE(3), TAU_GLOBAL_PHASE_START(3), TAU_GLOBAL_PHASE_STOP(3)