PAPI_disable_component (3) - Linux Manuals
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:
PAPI_disable_component() must be called before PAPI_library_init().
See Also:
PAPI_library_init
Generated automatically by Doxygen for PAPI from the source code.
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 disabled);
}
// ...
PAPI_library_init();
*
Author