PAPI_get_component_info(3)

🌸 NAME 🌸

PAPI_get_component_info β€” gets you information about a specific software component. This is the PAPI_get_component_info(3) page from the PAPI manual, bestie, and it's serving component-info realness. πŸ’…

✨ SYNOPSIS ✨

No separate synopsis line here, bestie β€” the page goes straight into the detailed description. Iconic. ✨

πŸ’… Detailed Description πŸ’…

πŸ“‹ Parameters

  • cidx β€” Component index.

This function returns a pointer to a structure containing detailed information about a specific software component in the PAPI library. That includes versioning information, preset and native event information, and more. For full details, see PAPI_component_info_t. 🫢

🌟 Examples 🌟

const PAPI_component_info_t *cmpinfo = NULL;
if (PAPI_library_init(PAPI_VER_CURRENT) != PAPI_VER_CURRENT)
exit(1);
if ((cmpinfo = PAPI_get_component_info(0)) == NULL)
exit(1);
printf("This component supports %d Preset Events and %d Native events.\n",
cmpinfo->num_preset_events, cmpinfo->num_native_events);

πŸ‘€ See also πŸ‘€

  • PAPI_get_executable_info
  • PAPI_get_hardware_info
  • PAPI_get_dmem_info
  • PAPI_get_opt
  • PAPI_component_info_t

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for PAPI from the source code.


That's the whole page, bestie. πŸ’– It's from the PAPI source, version 7.2.0.0, dated Wed Jun 25 2025 19:30:48, and the title is PAPI_get_component_info(3). Periodt. 🌈✨