PAPI  5.7.0.0
papi_version.c
Go to the documentation of this file.
1 
19 /* This utility displays the current PAPI version number */
20 
21 #include <stdlib.h>
22 #include <stdio.h>
23 #include "papi.h"
24 
25 int
26 main( int argc, char **argv )
27 {
28  (void) argc;
29  (void) argv;
30 
31  printf( "PAPI Version: %d.%d.%d.%d\n", PAPI_VERSION_MAJOR( PAPI_VERSION ),
35  return 0;
36 }
Return codes and api definitions.
int main(int argc, char **argv)
Definition: papi_version.c:26
#define PAPI_VERSION
Definition: fpapi.h:15
#define PAPI_VERSION_MAJOR(x)
Definition: papi.h:217
#define PAPI_VERSION_REVISION(x)
Definition: papi.h:219
#define PAPI_VERSION_MINOR(x)
Definition: papi.h:218
#define PAPI_VERSION_INCREMENT(x)
Definition: papi.h:220