Blob Blame History Raw
.TH "PAPI_get_component_index" 3 "Mon Dec 18 2017" "Version 5.6.0.0" "PAPI" \" -*- nroff -*-
.ad l
.nh
.SH NAME
PAPI_get_component_index \- 
.PP
returns the component index for the named component  

.SH SYNOPSIS
.br
.PP
.SH "Detailed Description"
.PP 

.PP
.nf
@retval ENOCMP
    component does not exist

@param name
           name of component to find index for
@par Examples:

.fi
.PP
 
.PP
.nf
        int cidx;
        cidx = PAPI_get_component_index("cuda");
    if (cidx==PAPI_OK) {
                  printf("The CUDA component is cidx %d\n",cidx);
               }
*   

.fi
.PP
 \fBPAPI_get_component_index()\fP returns the component index of the named component\&. This is useful for finding out if a specified component exists\&.  
.PP
\fBSee Also:\fP
.RS 4
\fBPAPI_get_event_component\fP 
.RE
.PP


.SH "Author"
.PP 
Generated automatically by Doxygen for PAPI from the source code\&.