9int main(
int argc,
char **argv )
18 region_name =
"do_flops";
22 for (
i = 1;
i <= 4; ++
i ) {
24 tid = omp_get_thread_num();
27 printf(
"\nThread %d: instrument flops\n", tid);
44 region_name =
"do_flops_2";
47 for (
i = 1;
i <= 4; ++
i ) {
49 tid = omp_get_thread_num();
52 printf(
"\nThread %d: instrument flops_2\n", tid);
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)