TAU_TRACK_MEMORY(3)

TAU_TRACK_MEMORY3

Initializes memory tracking system

Usage

C/C++:

TAU_TRACK_MEMORY(void);

Fortran:

TAU_TRACK_MEMORY(void);

Overview

For memory profiling, there are two modes of operation: 1) the user explicitly inserts TAU_TRACK_MEMORY_HERE() calls in the source code and the memory event is triggered at those locations, and 2) the user enables tracking memory by calling TAU_TRACK_MEMORY() and an interrupt is generated every 10 seconds and the memory event is triggered with the current value. Also, this interrupt interval can be changed by calling TAU_SET_INTERRUPT_INTERVAL(value). The tracking of memory events in both cases can be explictly enabled or disabled by calling the macros TAU_ENABLE_TRACKING_MEMORY() or TAU_DISABLE_TRACKING_MEMORY() respectively.

Examples

C/C++ :

TAU_TRACK_MEMORY();      

Fortran :

call TAU_TRACK_MEMORY()

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.