1PAPI_num_components(3) PAPI PAPI_num_components(3)
2
3
4
6 PAPI_num_components - return the number of components currently
7 installed
8
9
11 C Interface
12 #include <papi.h>
13 int PAPI_num_components();
14
15
17 PAPI_num_components() returns the number of counting components
18 installed in the library.
19
20
22 This function takes no arguments.
23
24
26 This function returns a value greater than zero.
27
28
30 /* Query the library for a component count. */
31 printf("%d components installed.0, PAPI_num_components());
32
33
35 None.
36
37
39 PAPI(3)
40
41
42
43PAPI Programmer's Reference April, 2007 PAPI_num_components(3)