Query: papi_get_component_index
OS: centos
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PAPI_get_component_index(3) PAPI PAPI_get_component_index(3)NAMEPAPI_get_component_index - returns the component index for the named componentSYNOPSISDetailed Description @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: PAPI_get_event_component Author Generated automatically by Doxygen for PAPI from the source code. Version 5.2.0.0 Tue Jun 17 2014 PAPI_get_component_index(3)