Query: tau_track_memory_headroom
OS: debian
Section: 3
Links: debian man pages all man pages
Forums: unix linux community forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
TAU_TRACK_MEMORY_HEA(3) TAU Instrumentation API TAU_TRACK_MEMORY_HEA(3)NAMETAU_TRACK_MEMORY_HEADROOM - Track the headroom (amount of memory for a process to grow) by periodically interrupting the programSYNOPSISC/C++: TAU_TRACK_MEMORY_HEADROOM(void); Fortran: TAU_TRACK_MEMORY_HEADROOM(void);DESCRIPTIONTracks the amount of memory available for the process before it runs out of free memory on the heap. This call sets up a signal handler that is invoked every 10 seconds by an interrupt (this interval may be altered by using the TAU_SET_INTERRUPT_INTERVAL call). Inside the interrupt handler, TAU evaluates how much memory it can allocate and associates it with the callstack using the TAU context events (See TAU_REGISTER_CONTEXT_EVENT(3)). The user can vary the size of the callstack by setting the environment variable TAU_CALLPATH_DEPTH (default is 2). This call is useful on machines like IBM BG/L where no virtual memory (or paging using the swap space) is present. The amount of heap memory available to the program is limited by the amount of available physical memory. TAU executes a series of malloc calls with a granularity of 1MB and determines the amount of memory available for the program to grow.EXAMPLEC/C++ : TAU_TRACK_MEMORY_HEADROOM(); Fortran : call TAU_TRACK_MEMORY_HEADROOM()SEE ALSOTAU_TRACK_MEMORY(3), TAU_SET_INTERRUPT_INTERVAL(3), TAU_ENABLE_TRACKING_MEMORY_HEADROOM(3), TAU_DISABLE_TRACKING_MEMORY_HEADROOM(3), TAU_TRACK_MEMORY_HEADROOM_HERE(3) 08/31/2005 TAU_TRACK_MEMORY_HEA(3)
Related Man Pages |
---|
free(1) - linux |
tau_track_memory_headroom(3) - debian |
malloc_trim(3) - debian |
malloc_trim(3) - x11r4 |
malloc_trim(3) - opendarwin |
Similar Topics in the Unix Linux Community |
---|
question regarding multithreading and malloc() requests |
consumption memory |
Memory usage |
Paging |
Strange memory behavior |