PAPI 7.1.0.0
Loading...
Searching...
No Matches
PAPI_disable_component Class Reference

disables the specified component More...

Detailed Description

Return values
ENOCMPcomponent does not exist
ENOINITcannot disable as PAPI has already been initialized
Parameters
cidxcomponent index of component to be disabled
Examples:
int cidx, result;
if (cidx>=0) {
printf("The example component is disabled\n");
}
// ...
volatile int result
disables the specified component
returns the component index for the named component
initialize the PAPI library.
#define PAPI_OK
Definition: f90papi.h:73
static int cidx
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

The documentation for this class was generated from the following file: