NAME
PAPI_num_components - return the number of components currently installed
Synopsis Description Arguments Return Values Examples Bugs See Also
C Interface #include <papi.h> int PAPI_num_components();
#include <papi.h> int PAPI_num_components();
PAPI_num_components() returns the number of counting components installed in the library.
This function takes no arguments.
This function returns a value greater than zero.
/* Query the library for a component count. */ printf("%d components installed.0, PAPI_num_components());
None.
PAPI (3)