PAPI_get_component_index
returns the component index for the named component
- Provided by: libpapi-dev (Version: 5.4.3-2)
- Source: papi
- Report a bug
returns the component index for the named component
@retval ENOCMP
component does not exist
@param name
name of component to find index for
@par Examples:
int cidx;
cidx = PAPI_get_component_index("cuda");
if (cidx==PAPI_OK) {
printf("The CUDA component is cidx %d0,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:
Generated automatically by Doxygen for PAPI from the source code.