Query: tau_phase
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
TAU_PHASE(3) TAU Instrumentation API TAU_PHASE(3)NAMETAU_PHASE - Profile a C++ function as a phaseSYNOPSISTAU_PHASE(char* or string& function_name, char* or string& type, TauGroup_t group);DESCRIPTIONTAU_PHASE profiles a function as a phase. This macro defines the function and takes care of the timer start and stop as well. The timer will stop when the macro goes out of scope (as in C++ destruction).EXAMPLEint foo(char *str) { TAU_PHASE(foo","int (char *)",TAU_DEFAULT); ... }SEE ALSOTAU_PHASE_CREATE_DYNAMIC(3), TAU_PHASE_CREATE_STATIC(3) 08/31/2005 TAU_PHASE(3)