PAPI_get_component_index (3) - Linux Manuals
NAME
PAPI_get_component_index -
returns the component index for the named component
SYNOPSIS
Detailed Description
@retval ENOCMP component does not exist @param name name of component to find index for @par Examples:
See Also:
Generated automatically by Doxygen for PAPI from the source code.
int cidx;
cidx = PAPI_get_component_index("cuda");
if (cidx==PAPI_OK) {
printf("The CUDA component is cidx %d,cidx);
}
*
Author