PAPI_disable_component_by_name (3) Linux Manual Page
PAPI_disable_component_by_name –
disables the named component
Synopsis
Detailed Description
etval ENOCMP
component does not exist
etval ENOINIT
unable to disable the component, the library has already been initialized
aram component_name
name of the component to disable.
ar Example:
int result;
result = PAPI_disable_component_by_name("example");
if (result==PAPI_OK)
printf("component //…
PAPI_library_init(PAPI_VER_CURRENT);
*
PAPI_disable_component_by_name() must be called before PAPI_library_init().
See Also:
- PAPI_library_init
PAPI_disable_component
