table of contents
other versions
- jessie 5.3.2-2
- jessie-backports 5.5.1-1~bpo8+1
- stretch 5.5.1-2
- testing 5.6.0+git99-gd5a1a9ae2-1
- unstable 5.7.0-1
| PAPI_get_component_index(3) | PAPI | PAPI_get_component_index(3) |
NAME¶
PAPI_get_component_index - returns the component index for the named componentSYNOPSIS¶
Detailed 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.| Thu Nov 17 2016 | Version 5.5.1.0 |