Rechercher une page de manuel
TAU_PROFILE_EXIT
Langue: en
Version: 08/31/2005 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
TAU_PROFILE_EXIT - Alerts the profiling system to an exit callSYNOPSIS
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)
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre