Forum Discussion
Altera_Forum
Honored Contributor
19 years agoPerformance Counter offset
Hi, i have a question about the PERFORMANCE COUNTER component. I have the following code to measure the overhead from starting/stoping the counter: PERF_BEGIN (PERFORMANCE_COUNTER_BASE, 1);...
Altera_Forum
Honored Contributor
19 years agoI'm only guessing here, but maybe you have an instruction and/or data cache, in which case the loop may be optimising your code whereas the single instance is not able to.