9int main(
int argc,
char **argv )
14 int world_size, world_rank;
19 MPI_Init( &argc, &argv );
20 MPI_Comm_size(MPI_COMM_WORLD, &world_size);
21 MPI_Comm_rank(MPI_COMM_WORLD, &world_rank);
23 region_name =
"do_flops";
26 printf(
"\nRank %d: instrument flops\n", world_rank);
Read performance events at the beginning of a region.
Read performance events at the end of a region and store the difference to the corresponding beginnin...
Return codes and api definitions.
int tests_quiet(int argc, char **argv)
void PAPI_NORETURN test_hl_pass(const char *filename)
void PAPI_NORETURN test_fail(const char *file, int line, const char *call, int retval)