26 float real_time, proc_time,mflops;
28 float ireal_time, iproc_time, imflops;
43 printf(
"Could not initialise PAPI_flops \n");
44 printf(
"Your platform may not support floating point operation event.\n");
45 printf(
"retval: %d\n",
retval);
54 printf(
"retval: %d\n",
retval);
59 printf(
"Real_time: %f Proc_time: %f flpops: %lld MFLOPS: %f\n",
60 real_time, proc_time,flpops,mflops);
Simplified call to get Mflops/s (floating point operation rate), real and processor time.
Return codes and api definitions.