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