PAPI Library Functions papiLibrarySupportedCall(3PAPI)
NAME
papiLibrarySupportedCall, papiLibrarySupportedCalls - deter-
mine if a PAPI function returns valid dataSYNOPSIS
cc [ flag... ] file... -lpapi [ library... ]
#include
char papiLibrarySupportedCall(const char *name);char **papiLibrarySupportedCalls(void);
PARAMETERS
name the name of a PAPI functionDESCRIPTION
The papiLibrarySupportedCall() function queries to determine if a particular PAPI function returns valid data other thanPAPI_OPERATION_NOT_SUPPORTED.
The papiLibrarySupportedCalls() function enumerates all PAPI
functions that return valid data other thanPAPI_OPERATION_NOT_SUPPORTED.
RETURN VALUES
The papiLibrarySupportedCall() function returns PAPI_TRUE if
the specified PAPI function returns valid data other thanPAPI_OPERATION_NOT_SUPPORTED. Otherwise, PAPI_FALSE is
returned.The papiLibrarySupportedCalls() function returns a null-
terminated array of strings listing all of the PAPI func-
tions that return valid data other thanPAPI_OPERATION_NOT_SUPPORTED. Otherwise, NULL is returned.
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:SunOS 5.11 Last change: 17 Jan 2007 1
PAPI Library Functions papiLibrarySupportedCall(3PAPI)____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Volatile ||_____________________________|_____________________________|
| MT-Level | Safe |
|_____________________________|_____________________________|
SEE ALSO
libpapi(3LIB), attributes(5)SunOS 5.11 Last change: 17 Jan 2007 2