logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

PAPI_disable_component_by_name - disables the named component

Author

       Generated automatically by Doxygen for PAPI from the source code.

Version 7.1.0.0                                  Thu Dec 14 2023               PAPI_disable_component_by_name(3)

Detailed Description

ReturnvaluesENOCMP component does not exist
           ENOINIT unable to disable the component, the library has already been initialized

       Parameterscomponent_name name of the component to disable.

       Example:

           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() 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().

       SeealsoPAPI_library_initPAPI_disable_component

Name

       PAPI_disable_component_by_name - disables the named component

Synopsis

See Also