PAPI_disable_component man page on RedHat

Man page or keyword search:  
man Server   29550 pages
apropos Keyword Search (all sections)
Output format
RedHat logo
[printable version]

PAPI_disable_component(3)	     PAPI	     PAPI_disable_component(3)

NAME
       PAPI_disable_component -

       disables the specified component

SYNOPSIS
Detailed Description
       @retval ENOCMP
	   component does not exist
	  @retval ENOINIT
		  cannot disable as PAPI has already been initialized

       @param cidx
		  component index of component to be disabled
       @par Examples:

		     int cidx, result;

		     cidx = PAPI_get_component_index("example");

		     if (cidx>=0) {
			result = PAPI_disable_component(cidx);
			if (result==PAPI_OK)
			   printf("The example component is disabled0);
		     }
		     // ...
		     PAPI_library_init();
       *

	PAPI_disable_component() allows the user to disable components before
       PAPI_library_init() time. This is useful if the user knows they do not
       wish to use events from that component and want to reduce the PAPI
       library overhead.

       PAPI_disable_component() must be called before PAPI_library_init().

       See Also:
	   PAPI_get_event_component

	   PAPI_library_init

Author
       Generated automatically by Doxygen for PAPI from the source code.

Version 5.2.0.0			Mon Oct 28 2013	     PAPI_disable_component(3)
[top]

List of man pages available for RedHat

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net