Forum Discussion
Altera_Forum
Honored Contributor
11 years agoYour problem sounds a little bit like your 64-bit value is being truncated to 32-bits due to a software bug; without exact expected/actual values it's hard to say.
Your problem could also be something like the wrong clock supplied to the performance counter block. As far as other time measurements go, you can use alt_nticks() for coarse, and a 64-bit Interval Timer for fine granularity; but the performance counter block you are already using works well, I just think you have some bug which is not obvious from your snippet.