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

return the first available event that's on an active PMU More...

Detailed Description

Returns
returns a libpfm event number
Return values
PAPI_ENOEVENTCould not find an event Operational note: _pe_libpfm4_init() must be called first to set flags for synonymous PMUs. At this writing only amd64_fam17h_zen1_present is defined. Operational note: We indirectly return the pmu_idx within the event data; the calling code uses that to set pmu_idx for subsequent calls. All we do is find the next valid pmu, if any.

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