Go to the source code of this file.
◆ main()
| int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 31 of file papi_clockres.c.
32{
33 (void) argc;
34 (void) argv;
35
37
40 fprintf(
stderr,
"Error with PAPI init!\n");
41 return 1;
42 }
43
46 fprintf(
stderr,
"Error with PAPI_set_debug!\n");
47 return 1;
48 }
49
50 printf( "Printing Clock latency and resolution.\n" );
51 printf( "-----------------------------------------------\n" );
52
55 fprintf(
stderr,
"Error reading clock!\n");
57 }
58
59 return 0;
60}
initialize the PAPI library.
Set the current debug level for error output from PAPI.