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 asPAPI_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. β¨
π¦ where this page comes from
- nixos 26.05: papi 7.2.0
- nixpkgs unstable: papi 7.2.0
- opensuse-leap 16.0: papi-devel 7.2.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: papi-devel 7.2.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: papi-devel 7.2.0-160000.2.2 Β· BSD-3-Clause
- ubuntu resolute: libpapi-dev 7.2.0-2 Β· BSD-3-Clause
- ubuntu stonking: libpapi-dev 7.2.0-2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms