36main(
int argc,
char **argv )
46 fprintf(
stderr,
"Error with PAPI_library_init!\n");
50 printf(
"\n----------------------------------\n" );
51 printf(
"For PAPI Version: %d.%d.%d.%d\n",
56 printf(
"----------------------------------\n" );
61 if ( NULL == errstr ) {
65 printf(
"Error code %4d: %s\n", -
i, errstr );
68 printf(
"There are %d error codes defined\n",
i );
69 printf(
"----------------------------------\n\n" );
initialize the PAPI library.
Returns a string describing the PAPI error code.
Return codes and api definitions.
#define PAPI_VERSION_REVISION(x)
#define PAPI_VERSION_MAJOR(x)
#define PAPI_VERSION_INCREMENT(x)
#define PAPI_VERSION_MINOR(x)