TAU_DISABLE_INSTRUMENTATION(3)

TAU_DISABLE_INSTRUMENTATION3

Disables instrumentation

Usage

C/C++:

TAU_DISABLE_INSTRUMENTATION(void);

Fortran:

TAU_DISABLE_INSTRUMENTATION(void);

Overview

TAU_DISABLE_INSTRUMENTATION macro disables all entry/exit instrumentation within all threads of a context. This allows the user to selectively enable and disable instrumentation in parts of his/her code. It is important to re-enable the instrumentation within the same basic block and scope.

Examples

C/C++ :

int main(int argc, char **argv) { 
  foo();
  TAU_DISABLE_INSTRUMENTATION();
  for (int i =0; i < N; i++) { 
    bar();  // not recorded
  }
  TAU_DISABLE_INSTRUMENTATION();
  bar(); // recorded
} 

Fortran :

call TAU_DISABLE_INSTRUMENTATION()
call TAU_DISABLE_INSTRUMENTATION()

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.