Query: tau_track_memory_headroom_here
OS: debian
Section: 3
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_HERE - Takes a sample of the amount of memory available at a given point.SYNOPSISC/C++: TAU_TRACK_MEMORY_HEADROOM_HERE(void); Fortran: TAU_TRACK_MEMORY_HEADROOM_HERE(void);DESCRIPTIONInstead of relying on a periodic interrupt to track the amount of memory available to grow, this call may be used to take a sample at a given location in the source code. Context events are used to track the amount of memory headroom.EXAMPLEC/C++ : ary = new double [1024*1024*50]; TAU_TRACK_MEMORY_HEADROOM_HERE(); Fortran : INTEGER, ALLOCATABLE :: STORAGEARY(:) allocate(STORAGEARY(1:999), STAT=IERR) TAU_TRACK_MEMORY_HEADROOM_HERE();SEE ALSOTAU_TRACK_MEMORY_HEADROOM(3) 08/31/2005 TAU_TRACK_MEMORY_HEA(3)