Query: tau_profile_exit
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
TAU_PROFILE_EXIT(3) TAU Instrumentation API TAU_PROFILE_EXIT(3)NAMETAU_PROFILE_EXIT - Alerts the profiling system to an exit callSYNOPSISC/C++: TAU_PROFILE_EXIT(const char * message); Fortran: TAU_PROFILE_EXIT(character message(size));DESCRIPTIONTAU_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.EXAMPLEC/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 ALSOTAU_DB_DUMP(3) 08/31/2005 TAU_PROFILE_EXIT(3)