85 if (!
quiet) printf(
"Trouble adding events\n");
86 test_skip(__FILE__,__LINE__,
"Adding event",1);
124 (
"Test case: Overflow dispatch of 1st event in set with 2 events.\n" );
126 (
"---------------------------------------------------------------\n" );
127 printf(
"Threshold for overflow is: %d\n",
THRESHOLD );
128 printf(
"Using %d iterations of c += a*b\n",
NUM_FLOPS );
129 printf(
"-----------------------------------------------\n" );
131 printf(
"Test type : %16d%16d\n", 1, 2 );
char event_name[2][PAPI_MAX_STR_LEN]
int PAPI_stop(int EventSet, long long *values)
void test_pass(const char *filename)
int PAPI_overflow(int EventSet, int EventCode, int threshold, int flags, PAPI_overflow_handler_t handler)
void test_skip(const char *file, int line, const char *call, int retval)
int PAPI_library_init(int version)
int PAPI_event_code_to_name(int EventCode, char *out)
int tests_quiet(int argc, char **argv)
void test_fail(const char *file, int line, const char *call, int retval)
int add_two_nonderived_events(int *num_events, int *papi_event, int *mask)
void handler(int EventSet, void *address, long long overflow_vector, void *context)
int PAPI_start(int EventSet)
static long long values[NUM_EVENTS]
long long ** allocate_test_space(int num_tests, int num_events)
int remove_test_events(int *EventSet, int mask)