PAPI 7.1.0.0
|
Assign a component index to an existing but empty EventSet. More...
EventSet | An integer identifier for an existing EventSet. |
cidx | An integer identifier for a component. By convention, component 0 is always the cpu component. |
PAPI_ENOCMP | The argument cidx is not a valid component. |
PAPI_ENOEVST | The EventSet doesn't exist. |
PAPI_ENOMEM | Insufficient memory to complete the operation. |
PAPI_assign_eventset_component assigns a specific component index, as specified by cidx, to a new EventSet identified by EventSet, as obtained from PAPI_create_eventset. EventSets are ordinarily automatically bound to components when the first event is added. This routine is useful to explicitly bind an EventSet to a component before setting component related options.