Query: tau_enable_context_event
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
TAU_ENABLE_CONTEXT_E(3) TAU Instrumentation API TAU_ENABLE_CONTEXT_E(3)NAMETAU_ENABLE_CONTEXT_EVENT - Enable a context eventSYNOPSISC/C++: TAU_ENABLE_CONTEXT_EVENT(TauUserEvent event);DESCRIPTIONEnables 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_DISABLE_CONTEXT_EVENT(3) 08/31/2005 TAU_ENABLE_CONTEXT_E(3)
Related Man Pages |
---|
history(1t) - opensolaris |
history(n) - centos |
tau_mapping_create(3) - debian |
pfm_get_event_encoding(3) - centos |
history(n) - opendarwin |
Similar Topics in the Unix Linux Community |
---|
Installing Dash Shell on OS X Lion |
How can I do this in VI editor? |
One instance of comparing grep and awk |
A (ksh) Library For and From UNIX.com |
My first PERL incarnation... Audio Oscillograph |