Query: tau_phase_stop
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
TAU_PHASE_STOP(3) TAU Instrumentation API TAU_PHASE_STOP(3)NAMETAU_PHASE_STOP - Exits a phase.SYNOPSISC/C++: TAU_PHASE_STOP(Phase phase); Fortran: TAU_PHASE_STOP(integer phase(2));DESCRIPTIONTAU_PHASE_STOP exits a phase. Phases can be nested, but not overlapped.EXAMPLEC/C++ : int f2(void) { TAU_PHASE_CREATE_STATIC(t2,"IO Phase", "", TAU_USER); TAU_PHASE_START(t2); input(); output(); TAU_PHASE_STOP(t2); return 0; } Fortran : subroutine F2() integer phase(2) / 0, 0 / save phase call TAU_PHASE_CREATE_STATIC(phase,'IO Phase') call TAU_PHASE_START(phase) call INPUT() call OUTPUT() call TAU_PHASE_STOP(phase) endSEE ALSOTAU_PHASE_CREATE_STATIC(3), TAU_PHASE_CREATE_DYNAMIC(3), TAU_PHASE_START(3) 08/31/2005 TAU_PHASE_STOP(3)