25 float real_time, proc_time,mflips;
27 float ireal_time, iproc_time, imflips;
42 printf(
"Could not initialise PAPI_flips \n");
43 printf(
"Your platform may not support floating point instruction event.\n"); printf(
"retval: %d\n",
retval);
52 printf(
"retval: %d\n",
retval);
57 printf(
"Real_time: %f Proc_time: %f Total flpins: %lld MFLIPS: %f\n",
58 real_time, proc_time,flpins,mflips);
Return codes and api definitions.
int PAPI_flips(float *rtime, float *ptime, long long *flpins, float *mflips)