debian man page for tau_phase_create_static

Query: tau_phase_create_static

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

TAU_PHASE_CREATE_STA(3) 				      TAU Instrumentation API					   TAU_PHASE_CREATE_STA(3)

NAME
TAU_PHASE_CREATE_STATIC - Defines a static phase.
SYNOPSIS
C/C++: TAU_PHASE_CREATE_STATIC(Phase phase, char* or string& function_name, char* or string& type, TauGroup_t group); Fortran: TAU_PHASE_CREATE_STATIC(integer phase(2), character name(size));
DESCRIPTION
TAU_PHASE_CREATE_STATIC creates a static phase. Static phases (and timers) are more efficient than dynamic ones because the function registration only takes place once.
EXAMPLE
C/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) end
SEE ALSO
TAU_PHASE_CREATE_DYNAMIC(3), TAU_PHASE_START(3), TAU_PHASE_STOP(3) 08/31/2005 TAU_PHASE_CREATE_STA(3)
Related Man Pages
mlib_signalupsample_s16_s16(3mlib) - opensolaris
mlib_signaldownsample_f32_f32(3mlib) - sunos
tau_phase_create_dynamic(3) - debian
tau_phase_create_static(3) - debian
mlib_signaldownsample_s16s_s16s(3mlib) - sunos
Similar Topics in the Unix Linux Community
SCO OpenServer Error - there are not enogh disk resources
Another "Cat and Mouse fight" or... Tracking down a botnet
True or false ? - Sun cluster 3.2 U3 questions...
IF vs CASE
Assignment with variable assigment