PAPI_get_component_index Class Reference

returns the component index for the named component More...

Detailed Description

Return values:
ENOCMP component does not exist
name name of component to find index for
        int cidx;
        cidx = PAPI_get_component_index("cuda");
        if (cidx==PAPI_OK) {
                   printf("The CUDA component is cidx %d\n",cidx);
PAPI_get_component_index() returns the component index of the named component. This is useful for finding out if a specified component exists.
Doesn't work for preset events
See also:

The documentation for this class was generated from the following file:

Generated on 8 Sep 2016 for PAPI by  doxygen 1.6.1