debian man page for tau_disable_context_event

Query: tau_disable_context_event

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

TAU_DISABLE_CONTEXT_(3) 				      TAU Instrumentation API					   TAU_DISABLE_CONTEXT_(3)

NAME
TAU_DISABLE_CONTEXT_EVENT - Disable a context event
SYNOPSIS
C/C++: TAU_DISABLE_CONTEXT_EVENT(TauUserEvent event);
DESCRIPTION
Disables a context event.
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); else TAU_ENABLE_CONTEXT_EVENT(event); printf("Inside f2: sleeps 2 sec, calls f3 "); TAU_CONTEXT_EVENT(event, 232+count); sleep(2); f3(); return 0; }
SEE ALSO
TAU_REGISTER_CONTEXT_EVENT(3), TAU_ENABLE_CONTEXT_EVENT(3) 08/31/2005 TAU_DISABLE_CONTEXT_(3)
Related Man Pages
history(1t) - opensolaris
history(n) - centos
tau_register_context_event(3) - debian
history(n) - opendarwin
history(n) - osx
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Introduction
Detecting unused variables...
How to copy a column of multiple files and paste into new excel file (next to column)?
New UNIX and Linux History Sections