PAPI 7.1.0.0
Loading...
Searching...
No Matches
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
25int
26main( 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}
#define PAPI_VERSION
Definition: f90papi.h:193
Return codes and api definitions.
#define PAPI_VERSION_REVISION(x)
Definition: papi.h:221
#define PAPI_VERSION_MAJOR(x)
Definition: papi.h:219
#define PAPI_VERSION_INCREMENT(x)
Definition: papi.h:222
#define PAPI_VERSION_MINOR(x)
Definition: papi.h:220
int main()
Definition: pernode.c:20