PAPI3:PAPI flops.3
| |

## ViewsFrom PAPIDocs
## NAME- PAPI_flips - PAPI High Level: Simplified call to get Mflips/s, real and processor time
- PAPI_flops - PAPI High Level: Simplified call to get Mflops/s, real and processor time
## Synopsis
#include <papi.h> int PAPI_flips( float * rtime, float * ptime, long_long * flpins, float * mflips ); int PAPI_flops( float * rtime, float * ptime, long_long * flpops, float * mflops );
#include "fpapi.h" PAPIF_flips( C_FLOAT real_time, C_FLOAT proc_time, C_LONG_LONG flpins, C_FLOAT mflips, C_INT check ) PAPIF_flops( C_FLOAT real_time, C_FLOAT proc_time, C_LONG_LONG flpops, C_FLOAT mflops, C_INT check ) ## DescriptionThe first call to ## Arguments
## ErrorsIn addition to the possible errors returned by the various PAPI low level calls, the following errors could also be returned:
## BugsThese functions have no known bugs. ## NOTESMflip/s, or millions of floating point instructions per second, is defined in this context as the number of instructions issued to the floating point unit per second. It is usually calculated directly from a counter measurement and may be different from platform to platform. Mflop/s, or millions of floating point operations per second, is intended to represent the number of floating point arithmetic operations per second. Attempts are made to massage the counter values to produce the theoreticallly expected value by, for instance, doubling FMA counts or subtracting floating point loads and stores if necessary.
**the user application program**
**PAPI_perror()****PAPI_library_init()****PAPI_get_hardware_info()****PAPI_create_eventset()****PAPI_add_event()****PAPI_start()****PAPI_get_real_usec()****PAPI_accum()****PAPI_shutdown()**
## See Also |