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

disables the named component More...

Detailed Description

Return values
ENOCMPcomponent does not exist
ENOINITunable to disable the component, the library has already been initialized
Parameters
component_namename of the component to disable.
Example:
int result;
printf("component \"example\" has been disabled\n");
//...
volatile int result
disables the named component
initialize the PAPI library.
#define PAPI_VER_CURRENT
Definition: f90papi.h:54
#define PAPI_OK
Definition: f90papi.h:73
PAPI_disable_component_by_name() allows the user to disable a component before PAPI_library_init() time. This is useful if the user knows they do not with to use events from that component and want to reduce the PAPI library overhead.

PAPI_disable_component_by_name() must be called before PAPI_library_init().

Bug:
none known
See also
PAPI_library_init
PAPI_disable_component

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