Go to the source code of this file.
|
| int | main (int argc, char **argv) |
| |
◆ NUM_EVENTS
◆ main()
| int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 22 of file high-level.c.
48 if (!
quiet) printf(
"Cannot start events\n");
85 printf(
"%12s %12s (''Continuing'' counting)\n",
"xxx",
"xxx" );
97 printf(
"----------------------------------\n" );
98 printf(
"Verification: The last line in each experiment should be\n" );
99 printf(
"approximately three times the value of the first line.\n" );
104 min = (
long long ) ( (
double ) myvalues[0] * .9 );
105 max = (
long long ) ( (
double ) myvalues[0] * 1.1 );
109 test_fail( __FILE__, __LINE__,
"PAPI_FP_INS", 1 );
111 test_fail( __FILE__, __LINE__,
"PAPI_TOT_INS", 1 );
114 min = (
long long ) ( (
double ) myvalues[1] * .9 );
115 max = (
long long ) ( (
double ) myvalues[1] * 1.1 );
118 test_fail( __FILE__, __LINE__,
"PAPI_TOT_CYC", 1 );
void test_pass(const char *filename)
static int Events[NUM_EVENTS]
int PAPI_accum_counters(long long *values, int array_len)
void test_skip(const char *file, int line, const char *call, int retval)
int PAPI_library_init(int version)
int PAPI_query_event(int EventCode)
int tests_quiet(int argc, char **argv)
void test_fail(const char *file, int line, const char *call, int retval)
int PAPI_read_counters(long long *values, int array_len)
int PAPI_start_counters(int *events, int array_len)
static long long values[NUM_EVENTS]