Rechercher une page de manuel
TAU_TRACK_MEMORY
Langue: en
Version: 08/31/2005 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
TAU_TRACK_MEMORY - Initializes memory tracking systemSYNOPSIS
C/C++:
- TAU_TRACK_MEMORY(void);
Fortran:
- TAU_TRACK_MEMORY(void);
DESCRIPTION
- 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.
EXAMPLE
C/C++ :
TAU_TRACK_MEMORY();
Fortran :
call TAU_TRACK_MEMORY()
SEE ALSO
TAU_ENABLE_TRACKING_MEMORY(3), TAU_DISABLE_TRACKING_MEMORY(3), TAU_SET_INTERRUPT_INTERVAL(3), TAU_TRACK_MEMORY_HERE(3), TAU_TRACK_MEMORY_HEADROOM(3)
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre