PAPI_get_component_index(3)
πΈ NAME πΈ
Okay bestie, welcome to PAPI_get_component_index(3) β the PAPI manual page that returns the component index for the named component. That's the whole vibe. π
π¦ SYNOPSIS π¦
The synopsis block on this page is literally just the heading Detailed Description β it's giving "mystery era," no cap. That's what's there, so we're keeping it exactly as it appears, and the actual deets start right below. π«Ά
π« Detailed Description π«
This is where the useful stuff lives, bestie. Short, sweet, and lowkey to the point, fr fr.
π₯ Return values π₯
ENOCMPβ component does not exist. π
πΈ Parameters πΈ
nameβ name of component to find index for.
β¨ Examples β¨
int cidx;
cidx = PAPI_get_component_index("cuda");
if (cidx==PAPI_OK) {
printf("The CUDA component is cidx %d\n",cidx);
}
PAPI_get_component_index() returns the component index of the named component. This is useful for finding out if a specified component exists. π₯
π«Ά See also π«Ά
PAPI_get_event_component
π Author π
Generated automatically by Doxygen for PAPI from the source code. (Yes, the author is a bot β iconic, honestly. Main character energy. π€β¨)
With love from your Unix bestie π β this page is from PAPI_get_component_index(3), PAPI source code via Doxygen, version 7.2.0.0, dated Wed Jun 25 2025 19:30:48. Mwah! π
π¦ 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