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_CONTEXT_EVENT(3) TAU Instrumentation API TAU_CONTEXT_EVENT(3)NAME
TAU_CONTEXT_EVENT - Triggers a context event
SYNOPSIS
C/C++:
TAU_CONTEXT_EVENT(TauUserEvent variable, double value);
Fortran:
TAU_CONTEXT_EVENT(integer variable(2), real value);
DESCRIPTION
Triggers a context event. A context event associates the name with the list of routines along the callstack. A context event tracks
information like a user defined event and TAU records the maxima, minima, mean, std. deviation and the number of samples for each context
event. A context event helps distinguish the data supplied by the user based on the location where an event occurs and the sequence of
actions (routine/timer invocations) that preceeded the event. The depth of the the callstack embedded in the context event's name is
specified by the user in the environment variable TAU_CALLPATH_DEPTH. If this variable is not specified, TAU uses a default depth of 2.
EXAMPLE
C/C++ :
int f2(void)
{
static int count = 0;
count ++;
TAU_PROFILE("f2()", "(sleeps 2 sec, calls f3)", TAU_USER);
TAU_REGISTER_CONTEXT_EVENT(event, "Iteration count");
/*
if (count == 2)
TAU_DISABLE_CONTEXT_EVENT(event);
*/
printf("Inside f2: sleeps 2 sec, calls f3
");
TAU_CONTEXT_EVENT(event, 232+count);
sleep(2);
f3();
return 0;
}
Fortran :
integer memevent(2) / 0, 0 /
save memevent
call TAU_REGISTER_CONTEXT_EVENT(memevent, "STORAGEARY mem allocated')
call TAU_CONTEXT_EVENT(memevent, SIZEOF(STORAGEARY)*sizeof(INTEGER))
SEE ALSO TAU_REGISTER_CONTEXT_EVENT(3)
08/31/2005 TAU_CONTEXT_EVENT(3)
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)
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)