Hi, how to run only a certain part of the code for PBC(Profile based compilation).Actually i set the start and end points n left for profiling..but it gets aborted without giving the configuration graph....any suggestions??? Kiran |
|
PBC
Started by ●March 3, 2003
Reply by ●March 3, 20032003-03-03
Hi, I am working on TMS320c6201 DSP processor using CCS V2. I am currently writing a program on the 6201 EVM. I have encountered a problem which I need some help with. There is a function in my project called rem_dc() which is called by main(). These functions are in different files. When I profiled the function (rem_dc() ), it took 3500 clock cycles (with -o3 optimization.). To optimize the code more, I generated the .asm file using k build option, and included it in my project. From the main file, I called the .asm function, rem_dc (). I then ran the program (again with o3, -pm & op3 optimization) rem_dc () in .asm took. 19,324 cycles. Why is there such a large difference? (b\w .c and .asm files) All my sections (data, program, etc) in the .cmd file are in internal program memory. Thanks Mos |