logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

PAPI_get_component_index - returns the component index for the named component

Author

       Generated automatically by Doxygen for PAPI from the source code.

Version 7.1.0.0                                  Thu Dec 14 2023                     PAPI_get_component_index(3)

Detailed Description

ReturnvaluesENOCMP component does not exist

       Parametersname name of component to find index for

       Examples:

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

            PAPI_get_component_index() returns the component index of the named component. This is useful for
           finding out if a specified component exists.

       SeealsoPAPI_get_event_component

Name

       PAPI_get_component_index - returns the component index for the named component

Synopsis

See Also