Poster of Linux kernelThe best gift for a Linux geek
TAU_GLOBAL_PHASE_EXT

TAU_GLOBAL_PHASE_EXT

Section: TAU Instrumentation API (3) Updated: 08/31/2005
Local index Up
 

NAME

TAU_GLOBAL_PHASE_EXTERNAL - Declares a global phase from an external compilation unit  

SYNOPSIS

C/C++:

TAU_GLOBAL_PHASE_EXTERNAL(Profiler timer);
 

DESCRIPTION

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

EXAMPLE

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

SEE ALSO

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


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLE
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 21:56:48 GMT, April 16, 2011