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).
EXAMPLE
int foo(char *str) {
TAU_PHASE(foo","int (char *)",TAU_DEFAULT);
...
}
SEE ALSO
TAU_PHASE_CREATE_DYNAMIC(3),
TAU_PHASE_CREATE_STATIC(3)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- EXAMPLE
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 21:56:49 GMT, April 16, 2011