1papiLibrarySupportedCall(3PAPPIA)PI Library FunctiopnaspiLibrarySupportedCall(3PAPI)
2
3
4
6 papiLibrarySupportedCall, papiLibrarySupportedCalls - determine if a
7 PAPI function returns valid data
8
10 cc [ flag... ] file... -lpapi [ library... ]
11 #include <papi.h>
12
13 char papiLibrarySupportedCall(const char *name);
14
15
16 char **papiLibrarySupportedCalls(void);
17
18
20 name the name of a PAPI function
21
22
24 The papiLibrarySupportedCall() function queries to determine if a par‐
25 ticular PAPI function returns valid data other than PAPI_OPERA‐
26 TION_NOT_SUPPORTED.
27
28
29 The papiLibrarySupportedCalls() function enumerates all PAPI functions
30 that return valid data other than PAPI_OPERATION_NOT_SUPPORTED.
31
33 The papiLibrarySupportedCall() function returns PAPI_TRUE if the speci‐
34 fied PAPI function returns valid data other than PAPI_OPERA‐
35 TION_NOT_SUPPORTED. Otherwise, PAPI_FALSE is returned.
36
37
38 The papiLibrarySupportedCalls() function returns a null-terminated
39 array of strings listing all of the PAPI functions that return valid
40 data other than PAPI_OPERATION_NOT_SUPPORTED. Otherwise, NULL is
41 returned.
42
44 See attributes(5) for descriptions of the following attributes:
45
46
47
48
49 ┌─────────────────────────────┬─────────────────────────────┐
50 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
51 ├─────────────────────────────┼─────────────────────────────┤
52 │Interface Stability │Volatile │
53 ├─────────────────────────────┼─────────────────────────────┤
54 │MT-Level │Safe │
55 └─────────────────────────────┴─────────────────────────────┘
56
58 libpapi(3LIB), attributes(5)
59
60
61
62SunOS 5.11 17 Jan 2007 papiLibrarySupportedCall(3PAPI)