Go to the source code of this file.
|
| void | Thread (int n) |
| |
| int | main (int argc, char **argv) |
| |
◆ main()
| int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 70 of file zero_shmem.c.
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 );
void test_skip(const char *file, int line, const char *call, int retval)
long long PAPI_get_real_usec(void)
int tests_quiet(int argc, char **argv)
long long PAPI_get_real_cyc(void)
◆ Thread()
Definition at line 20 of file zero_shmem.c.
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,
int PAPI_stop(int EventSet, long long *values)
void free_test_space(long long **values, int num_tests)
long long PAPI_get_real_usec(void)
long long PAPI_get_real_cyc(void)
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)
int add_test_events(int *number, int *mask, int allow_derived)