25 float real_time, proc_time,mflops;
27 float ireal_time, iproc_time, imflops;
41 printf(
"Could not initialise PAPI_flops \n");
42 printf(
"Your platform may not support floating point operation event.\n");
43 printf(
"retval: %d\n",
retval);
52 printf(
"retval: %d\n",
retval);
57 printf(
"Real_time: %f Proc_time: %f Total flpops: %lld MFLOPS: %f\n",
58 real_time, proc_time,flpops,mflops);
int PAPI_flops(float *rtime, float *ptime, long long *flpops, float *mflops)
Return codes and api definitions.