TAU_GET_COUNTER_NAMES(3)

TAU_GET_COUNTER_NAMES3

Gets the counter names

Usage

C/C++:

TAU_GET_COUNTER_NAMES(char **counterList, int numCounters);

Overview

TAU_GET_COUNTER_NAMES returns the list of counter names and the number of counters used for measurement. When wallclock time is used, the counter name of "default" is returned.

Examples

C/C++ :

int numOfCounters;
const char ** counterList;
TAU_GET_COUNTER_NAMES(counterList, numOfCounters);
for(int j=0;j<numOfCounters;j++){ 
  cout << "The counter names so far are: " << counterList[j] << endl;
}

Releases

Unchanged in 5 releases since Debian 4.0 (Etch).

  1. 4.0–9

From tau 2.17.3.1.dfsg-4.2 in Debian 9 (Stretch). Parsed by carta from the page's man source.