Man Page: tau_disable_context_event
Operating Environment: debian
Section: 3
TAU_DISABLE_CONTEXT_(3) TAU Instrumentation API TAU_DISABLE_CONTEXT_(3)NAMETAU_DISABLE_CONTEXT_EVENT - Disable a context eventSYNOPSISC/C++: TAU_DISABLE_CONTEXT_EVENT(TauUserEvent event);DESCRIPTIONDisables a context event.EXAMPLEC/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 ALSOTAU_REGISTER_CONTEXT_EVENT(3), TAU_ENABLE_CONTEXT_EVENT(3) 08/31/2005 TAU_DISABLE_CONTEXT_(3)
| Related Man Pages |
|---|
| history(n) - centos |
| history(n) - redhat |
| tau_context_event(3) - debian |
| tau_get_event_vals(3) - debian |
| history(1) - suse |
| Similar Topics in the Unix Linux Community |
|---|
| Introduction |
| A (ksh) Library For and From UNIX.com |
| New UNIX and Linux History Sections |
| My first PERL incarnation... Audio Oscillograph |