hi, everyone. I have a question confused me which I used the profiler in simulator in CCS2.1 to test a function run time while the result is Incl.average 1428 cycle,and I run the function in CCS3.3 on my board with emulator which test the time is 8.7us, while the cpu is C6747 with CPU clock 300Mhz. it is a problem that 1428*3.3ns = 4.7us,and the test result is 8.7us, nearly twice,why?
the purpose of test time is to reduce the time for sepcial application.there is a fact the function and the buf located in on-chip RAM which runs fast the SDRAM.and when I put my function with SECTION of EXTERNAL SDRAM
#pragma CODE_SECTION(func, "SDRAM"
the runing time is also 8.7us, but when put a array(buf[30] which is used by the function) with SECTION of EXTERNAL SDRAM
#pragma DATA_SECTION(buf,"SDRAM",
the running time will be 19us. what's the matter? can anyone tell me the reason of the different infuence? and code or data in SDRAM different, why?
C6747 chip have a feature of 2400 MIPS/1800 MFLOTS.