TAU_PROFILE_EXIT
TAU_PROFILE_EXIT
Section: TAU Instrumentation API (3) Updated: 08/31/2005 Local index
Up
NAME
TAU_PROFILE_EXIT - Alerts the profiling system to an exit call
SYNOPSIS
C/C++:
-
TAU_PROFILE_EXIT(const char * message);
Fortran:
-
TAU_PROFILE_EXIT(character message(size));
DESCRIPTION
TAU_PROFILE_EXIT
should be called prior to an error exit from the program so that any profiles or event traces can be dumped to disk before quitting.
EXAMPLE
C/C++ :
if ((ret = open(...)) < 0) {
TAU_PROFILE_EXIT("ERROR in opening a file");
perror("open() failed");
exit(1);
}
Fortran :
call TAU_PROFILE_EXIT('abort called')
SEE ALSO
TAU_DB_DUMP(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