Hi I have a problem using PAPI, I get some incoherent or coherent results depending on the combination of counters that I used.
For example, if I used: PAPI_TOT_INS, PAPI_INT_INS, PAPI_FP_INS , and PAPI_TOT_CYC; all the counters show the same result during the execution. I get the next results:
-->1 (Read, starting)
PAPI_TOT_INS = 577732409434650008
PAPI_INT_INS = 577756873568368160
PAPI_FP_INS = 577736708696913352
PAPI_TOT_CYC = 4479200
-->2 (Accum, after some computation)
PAPI_TOT_INS = 577732409434650008
PAPI_INT_INS = 577756873568368160
PAPI_FP_INS = 577736708696913352
PAPI_TOT_CYC = 4479200
-->3 (Stop, end)
PAPI_TOT_INS = 577732409434650008
PAPI_INT_INS = 577756873568368160
PAPI_FP_INS = 577736708696913352
PAPI_TOT_CYC = 4479200
And if I use one counter less, I get:
-->1 (Read, starting)
PAPI_TOT_INS = 2847
PAPI_FP_INS = 4
PAPI_TOT_CYC = 6796
-->2 (Accum, after some computation)
PAPI_TOT_INS = 7407431276
PAPI_FP_INS = 25
PAPI_TOT_CYC = 12070063266
-->3 (Stop, end)
PAPI_TOT_INS = 7475
PAPI_FP_INS = 36
PAPI_TOT_CYC = 28476
Those are coherent results. Do anyone have any idea why this happens?
Thanks a lot.
