Name

TAU_PROFILER_GET_EXCLUSIVE_VALUES_TASK — Returns the exclusive amount of a metric spend by this timer on a given task.

Synopsis

C/C++:
TAU_PROFILER_GET_EXCLUSIVE_VALUES_TASK( timer,  
  excl,  
  taskid);  
Timer   timer;
double&   excl;
int   taskid;

description

TAU_PROFILER_GET_EXCLUSIVE_VALUES_TASK Returns the exclusive amount of the metric spend while this timer was running (and while no other subsequent timers was running) on a given task.

example

>C/C++:

void *ptr;
int taskid;
TAU_PROFILER_CREATE(ptr, "foo","", TAU_USER);
TAU_CREATE_TASK(taskid);
TAU_PROFILER_START(ptr);
foo(2);
TAU_PROFILER_STOP(ptr);

double excl[TAU_MAX_COUNTERS];
TAU_PROFILER_GET_EXCLUSIVE_VALUES_TASK(ptr, &excl, taskid);