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,
70main(
int argc,
char **argv )
85 Thread( 1000000 * ( _my_pe( ) + 1 ) );
88 printf(
"No OpenSHMEM support\n");
90 test_skip( __FILE__, __LINE__,
"OpenSHMEM support not found, skipping.", 0);
97 printf(
"Master real usec : \t%lld\n",
elapsed_us );
98 printf(
"Master real cycles : \t%lld\n",
elapsed_cyc );
get real time counter value in clock cycles Returns the total real time passed since some arbitrary s...
get real time counter value in microseconds
Start counting hardware events in an event set.
Stop counting hardware events in an event set.
static long long values[NUM_EVENTS]
Return codes and api definitions.
int tests_quiet(int argc, char **argv)
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)
void PAPI_NORETURN test_skip(const char *file, int line, const char *call, int retval)
int remove_test_events(int *EventSet, int mask)