21{
28
30
31
32
34
36
38
40
41
43 exit( 1 );
44
46
49 exit( 1 );
50
52
54
56
57 printf( "Thread %#x PAPI_FP_INS : \t%lld\n", n / 1000000,
59 printf( "Thread %#x PAPI_TOT_CYC: \t%lld\n", n / 1000000,
61 printf( "Thread %#x Real usec : \t%lld\n", n / 1000000,
63 printf( "Thread %#x Real cycles : \t%lld\n", n / 1000000,
65
67}
Start counting hardware events in an event set.
Stop counting hardware events in an event set.
static long long values[NUM_EVENTS]
int add_test_events(int *number, int *mask, int allow_derived)
void free_test_space(long long **values, int num_tests)
long long ** allocate_test_space(int num_tests, int num_events)
int remove_test_events(int *EventSet, int mask)