Name

TAU_PROFILER_GET_INCLUSIVE_VALUES — Returns the inclusive amount of a metric spend by this timer.

Synopsis

C/C++:
TAU_PROFILER_GET_INCLUSIVE_VALUES( timer,  
  incl);  
Timer   timer;
double&   incl;

description

TAU_PROFILER_GET_INCLUSIVE_VALUES Returns the inclusive amount of a metric spend while this timer was running (and any subsequent timers called from this timer.)

example

>C/C++:

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

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

double incl[TAU_MAX_COUNTERS];
TAU_PROFILER_GET_INCLUSIVE_VALUES(ptr, &incl);