14 for(
i=1;
i<20000;
i++)
23 long long s,s1, e, e1;
36 printf(
"Library initialization error! \n");
57 printf(
"Wallclock cycles : %lld\nWallclock time(ms): %lld\n",e-
s,e1-s1);
get real time counter value in clock cycles Returns the total real time passed since some arbitrary s...
get real time counter value in microseconds
initialize the PAPI library.
Finish using PAPI and free all related resources.
Return codes and api definitions.