I am trying to use this basic cycle counting:
I don't see anything printing out and I am suspecting that the macros aren't activated and that I need to compile with the -DDO_CYCLE_COUNTS compile-time switch as indicated by the C/C++ Compiler and Library Manual for Blackfin® Processors > 4 DSP Run-Time Library > DSP Run-Time Library Guide > Measuring Cycle Counts > Basic Cycle-Counting Facility guide. The question is.. how do I compile with the -DDO_CYCLE_COUNTS? Also, what does that extern int do in the example code? It doesn't look to be used.