10main(
int argc,
char **argv )
35 if (!
quiet) printf(
"Trouble querying event\n");
92 printf(
"Test case John May 2: cleanup / destroy eventset.\n" );
93 printf(
"-------------------------------------------------\n" );
94 printf(
"Test run : \t1\n" );
98 printf(
"-------------------------------------------------\n" );
99 printf(
"The following messages will appear if PAPI is compiled with debug enabled:\n" );
101 (
"\tPAPI Error Code -10: PAPI_EISRUN: EventSet is currently counting\n" );
103 (
"\tPAPI Error Code -10: PAPI_EISRUN: EventSet is currently counting\n" );
104 printf(
"\tPAPI Error Code -1: PAPI_EINVAL: Invalid argument\n" );
add PAPI preset or native hardware event to an event set
Empty and destroy an EventSet.
Create a new empty PAPI EventSet.
Empty and destroy an EventSet.
Convert a numeric hardware event code to a name.
initialize the PAPI library.
Query if PAPI event exists.
Start counting hardware events in an event set.
Stop counting hardware events in an event set.
char event_name[2][PAPI_MAX_STR_LEN]
static long long values[NUM_EVENTS]
Return codes and api definitions.
int tests_quiet(int argc, char **argv)
void PAPI_NORETURN test_fail(const char *file, int line, const char *call, int retval)
void PAPI_NORETURN test_pass(const char *filename)
void PAPI_NORETURN test_skip(const char *file, int line, const char *call, int retval)