PAPI  5.3.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
utils/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( )
27 {
28  printf( "PAPI Version: %d.%d.%d.%d\n", PAPI_VERSION_MAJOR( PAPI_VERSION ),
32  exit( 0 );
33 }
#define PAPI_VERSION
Definition: fpapi.h:15
#define printf
Definition: papi_test.h:125
Return codes and api definitions.
#define PAPI_VERSION_MAJOR(x)
Definition: papi.h:215
#define PAPI_VERSION_REVISION(x)
Definition: papi.h:217
#define PAPI_VERSION_MINOR(x)
Definition: papi.h:216
int main(int argc, char **argv)
List all appio events codes and names.
#define PAPI_VERSION_INCREMENT(x)
Definition: papi.h:218
void exit()