Simplified call to get Mflips/s (floating point instruction rate), real and processor time.
int PAPI_flips_rate( int event, float *rtime, float *ptime, long long *flpins, float *mflips );
*rtime realtime since the latest call
*ptime process time since the latest call
*flpins floating point instructions since the latest call
*mflips incremental (Mega) floating point instructions per seconds since the latest call
PAPI_ENOEVNT The floating point instructions event does not exist.
PAPI_ENOMEM Insufficient memory to complete the operation.
The first call to PAPI_flips_rate() will initialize the PAPI interface, set up the counters to monitor the floating point instructions event and start the counters.
Subsequent calls will read the counters and return real time, process time, floating point instructions and the Mflip/s rate since the latest call to PAPI_flips_rate().
PAPI_flips_rate() returns information related to floating point instructions using the floating point instructions event. This is intended to measure instruction rate through the floating point pipe with no massaging. Note that PAPI_flips_rate() is thread-safe and can therefore be called by multiple threads.
Generated automatically by Doxygen for PAPI from the source code.
|Fri Mar 10 2023||Version 18.104.22.168|