DOKK / manpages / debian 12 / libpapi-dev / PAPI_get_eventset_component.3.en
PAPI_get_eventset_component(3) PAPI PAPI_get_eventset_component(3)

PAPI_get_eventset_component -

return index for component an eventset is assigned to

Return values:

PAPI_ENOEVST eventset does not exist
PAPI_ENOCMP component is invalid or does not exist
positive value valid component index

Parameters:

EventSet EventSet for which we want to know the component index

Examples:

int cidx,eventcode;
cidx = PAPI_get_eventset_component(eventset);


PAPI_get_eventset_component() returns the component an event belongs to.

See Also:

PAPI_get_event_component

Generated automatically by Doxygen for PAPI from the source code.

Mon Nov 14 2022 Version 7.0.0.0