1PAPI_num_components(3)               PAPI               PAPI_num_components(3)
2
3
4

NAME

6       PAPI_num_components   -  return  the  number  of  components  currently
7       installed
8
9

SYNOPSIS

11       C Interface
12       #include <papi.h>
13       int PAPI_num_components();
14
15

DESCRIPTION

17       PAPI_num_components() returns the number of counting components
18        installed in the library.
19
20

ARGUMENTS

22       This function takes no arguments.
23
24

RETURN VALUES

26       This function returns a value greater than zero.
27
28

EXAMPLES

30       /* Query the library for a component count. */
31       printf("%d components installed.0, PAPI_num_components());
32
33

BUGS

35       None.
36
37

SEE ALSO

39       PAPI(3)
40
41
42
43PAPI Programmer's Reference       April, 2007           PAPI_num_components(3)
Impressum