PAPI_get_component_index - Man Page
returns the component index for the named component
Synopsis
Detailed Description
- Return values
ENOCMP component does not exist
- Parameters
name name of component to find index for
Examples:
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.
- See also
PAPI_get_event_component
Author
Generated automatically by Doxygen for PAPI from the source code.
Info
Thu Jul 18 2024 00:00:00 Version 7.1.0.0 PAPI