Name

TAU_PROFILER_GET_CHILD_CALLS — Gets the number of calls made while this timer was running

Synopsis

C/C++:
TAU_PROFILER_GET_CHILD_CALLS( timer,  
  calls);  
Timer   timer;
long&   calls;

description

TAU_PROFILER_GET_CHILD_CALLS Gets the number of timers started while timer was running. This is non-recursive, only timers started directly count.

example

>C/C++:

void *ptr;
TAU_PROFILER_CREATE(ptr, "foo","", TAU_USER);

TAU_PROFILER_START(ptr);
foo(2);
TAU_PROFILER_STOP(ptr);

long calls;
TAU_PROFILER_GET_CHILD_CALLS(ptr, &calls);