|
PAPI
5.0.1.0
|
disables the named component More...
| ENOCMP | component does not exist |
| ENOINIT | unable to disable the component, the library has already been initialized |
| component_name | name of the component to disable. |
int result; result = PAPI_disable_component_by_name("example"); if (result==PAPI_OK) printf("component \"example\" has been disabled\n"); //... PAPI_library_init(PAPI_VER_CURRENT);
PAPI_disable_component_by_name() must be called before PAPI_library_init().