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_infoPAPI_get_hardware_infoPAPI_get_dmem_infoPAPI_get_optPAPI_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. πβ¨
π¦ 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