PAPI_get_event_info(3)

PAPI_get_event_info(3) πŸ’…

okay so bestie, welcome to the PAPI manual page for PAPI_get_event_info β€” this one is literally about getting an event’s name and description info, and yes it’s giving useful. πŸŽ€


✨ NAME ✨

PAPI_get_event_info β€” get the event's name and description info. periodt. πŸ’–

🌸 SYNOPSIS 🌸

πŸ’– Detailed Description πŸ’–

πŸŽ€ Parameters πŸŽ€

  • EventCode β€” event code, bestie (preset or native). πŸ¦‹
  • info β€” structure with the event information, typed as PAPI_event_info_t. ✨

πŸ’… Return values πŸ’…

  • PAPI_EINVAL β€” one or more of the arguments is invalid. 😭
  • PAPI_ENOTPRESET β€” the PAPI preset mask was set, but the hardware event specified is not a valid PAPI preset. πŸ’€
  • PAPI_ENOEVNT β€” the PAPI preset is not available on the underlying hardware. πŸ™ˆ

okay so the whole point: this function fills the event information into a structure. In Fortran, some fields of the structure are returned explicitly β€” yes, that’s a thing, no cap. This function works with existing PAPI preset and native event codes. πŸ’–

πŸ¦‹ See also πŸ¦‹

  • PAPI_event_name_to_code β€” the see-also bestie, go look. πŸ‘‘

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for PAPI from the source code. not a human, just Doxygen doing its cute little thing. 🫢


πŸ’– that’s the whole page, bestie! cute sign-off: PAPI version 7.2.0.0, dated Wed Jun 25 2025 19:30:48 β€” PAPI_get_event_info(3) is out. slay. ✨