Scroll to navigation

TAU_PROFILER_GET_CHI(3) Tau API TAU_PROFILER_GET_CHI(3)



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 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); 



SEE ALSO

TAU_PROFILER_CREATE TAU_PROFILER_START TAU_PROFILER_STOP TAU_PROFILER_GET_CALLS TAU_PROFILER_GET_INCLUSIVE_VALUES TAU_PROFILER_GET_ExCLUSIVE_VALUES TAU_PROFILER_GET_COUNTER_INFO

08/12/2008 [FIXME: source]