TAU_PROFILE_EXIT(3)

TAU_PROFILE_EXIT3

Alerts the profiling system to an exit call

Usage

C/C++:

TAU_PROFILE_EXIT(const char * message);

Fortran:

TAU_PROFILE_EXIT(character message(size));

Overview

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.

Examples

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')

Releases

Unchanged in 5 releases since Debian 4.0 (Etch).

  1. 4.0–9

From tau 2.17.3.1.dfsg-4.2 in Debian 9 (Stretch). Parsed by carta from the page's man source.