Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tau_track_memory(3) [debian man page]

TAU_TRACK_MEMORY(3)					      TAU Instrumentation API					       TAU_TRACK_MEMORY(3)

NAME
TAU_TRACK_MEMORY - Initializes memory tracking system SYNOPSIS
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) 08/31/2005 TAU_TRACK_MEMORY(3)

Check Out this Related Man Page

TAU_ENABLE_INSTRUMEN(3) 				      TAU Instrumentation API					   TAU_ENABLE_INSTRUMEN(3)

NAME
TAU_ENABLE_INSTRUMENTATION - Enables instrumentation SYNOPSIS
C/C++: TAU_ENABLE_INSTRUMENTATION(void); Fortran: TAU_ENABLE_INSTRUMENTATION(void); DESCRIPTION
TAU_ENABLE_INSTRUMENTATION macro re-enables all TAU instrumentation. All instances of functions and statements that occur between the disable/enable section are ignored by TAU. This allows a user to limit the trace size, if the macros are used to disable recording of a set of iterations that have the same characteristics as, for example, the first recorded instance. EXAMPLE
C/C++ : int main(int argc, char **argv) { foo(); TAU_DISABLE_INSTRUMENTATION(); for (int i =0; i < N; i++) { bar(); // not recorded } TAU_ENABLE_INSTRUMENTATION(); bar(); // recorded } Fortran : call TAU_DISABLE_INSTRUMENTATION() call TAU_ENABLE_INSTRUMENTATION() SEE ALSO
TAU_DISABLE_INSTRUMENTATION(3), TAU_ENABLE_GROUP(3), TAU_DISABLE_GROUP(3), TAU_INIT(3), TAU_PROFILE_INIT(3) 08/31/2005 TAU_ENABLE_INSTRUMEN(3)
Man Page

2 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Installation problem

Hi , I have installed a s/w for work tracking (work tracking fecilitator) in linix OS. all my other perl programs are working fine. i have completed the backend part of it but unable to use this application . Please guide me regarding this . I have downloaded the source from... (4 Replies)
Discussion started by: alma
4 Replies

2. AIX

HMC - tracking dlpar

I am trying to generate a report to track dlpar operation performed on a MS and was wondering if anyone has done this before. I can get history from HMC using lssvcevents , but this does not give me details as to what quantity was added or removed . Any thoughts ? Thanks (3 Replies)
Discussion started by: mk8570
3 Replies