Unix/Linux Go Back    

CentOS 7.0 - man page for papi_get_component_index (centos section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

PAPI_get_component_index(3)		       PAPI		      PAPI_get_component_index(3)

       PAPI_get_component_index -

       returns the component index for the named component

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:

       Generated automatically by Doxygen for PAPI from the source code.

Version 			 Tue Jun 17 2014	      PAPI_get_component_index(3)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 09:54 AM.