DSPRelated.com

overhead in timer

Started by Sri in TMS320c6x20 years ago 6 replies

Hi, I am having a doubt about Timer in the DSP/BIOS 5.2. I am profiling some piece of code on C6416, for profiling I am using the Timer 1(...

Hi, I am having a doubt about Timer in the DSP/BIOS 5.2. I am profiling some piece of code on C6416, for profiling I am using the Timer 1( Timer count Register address 0x01980008). I have configured the Timer control register (0x01980000) as CPU clock/ 8. to check the possiblity of reading the overhead in the reading the timer register, I used following dummy reads of timer register. star...


profiling on target is extremely slow!

Started by recl...@softhome.net in TMS320c6x20 years ago 3 replies

Hi All, I'm using DM642 Evaluation Board (720MHz CPU) Currently trying to profile my code on target Profiling settings: - events collected:...

Hi All, I'm using DM642 Evaluation Board (720MHz CPU) Currently trying to profile my code on target Profiling settings: - events collected: Cycles - for all functions - live update every 10 sec (this option has no valuable influence) All these runs with speed about 36MClocks per hour(!) Is it normal? Is there any way to make it run faster? Increase some buffer size or whatever? ...


cycles count accuracy?

Started by prabhakar in TMS320c6x21 years ago

Hi all,         I am profiling my code using both simulator and EVM. I am using DM642 EVM.  

Hi all,         I am profiling my code using both simulator and EVM. I am using DM642 EVM.  


How to profile total cycles of a loop correctly

Started by libi...@stee.stengg.com in TMS320c6x21 years ago

Hi, I start to profile a loop in my code. I am using XDS510PP emulator. If I follow this sequence : load the program, activate the...

Hi, I start to profile a loop in my code. I am using XDS510PP emulator. If I follow this sequence : load the program, activate the profile, and run. The total cycles collected in the profile view is quite small. If I sequently press Debug-restart, and run again. The total cycles in the profile view is quite large. Why? Which way in profiling is correct.


Doubt on profiling a loop

Started by libi...@stee.stengg.com in TMS320c6x21 years ago

HI, DSP expert I am using XD510PP emulator connected with a DSP board. I want to profile a loop. AT first, I used profile viewer...

HI, DSP expert I am using XD510PP emulator connected with a DSP board. I want to profile a loop. AT first, I used profile viewer to get the cycles:incl.Ave of the loop, it is 769096. Then I set two breakpoint at the beginning and end of this loop, and use clock to collect the Cycles. When programme stoped at the beginning of the loop, I reset the


What is difference between cycle.CPU: Incl. Avg and cycle.Total: Incl. Avg

Started by Li Bing in TMS320c6x21 years ago

HI, DSP friends I am using C6711 Device Cycle Accurate Simulator in CCS 3.0 IDE. I want to profile a loop in my code. In profiling view...

HI, DSP friends I am using C6711 Device Cycle Accurate Simulator in CCS 3.0 IDE. I want to profile a loop in my code. In profiling view there are two items - cycle.CPU: Incl. Avg and cycle.Total: Incl. Avg . What is difference between them? Thanks LI Bing


Re: Error message while profiling

Started by Mike Dunn in TMS320c6x21 years ago 2 replies

Li Bing, You do not mention which c6x DSP that you are using. The error message shows a problem at memory address 0x00083F6C. Most...

Li Bing, You do not mention which c6x DSP that you are using. The error message shows a problem at memory address 0x00083F6C. Most c6x devices do not have memory at that address - check the map file and linker command file. mikedunn --- Li Bing wrote: > HI, DSP friends >


CCS Problem....

Started by Anand Pradhan in TMS320c6x20 years ago

Hello All, I have the licenced version of CCS : "CCS DSK Tools 3.0.0.4 " I have presently selected the " C6416 Device Functional...

Hello All, I have the licenced version of CCS : "CCS DSK Tools 3.0.0.4 " I have presently selected the " C6416 Device Functional Simulator " Now, when i enable the loop profile for my whole code, the CCS crashes. i want to know why this is happening ! Is there any setting for loop profiling anywhere else


C6713 profiling

Started by Quan Nguyen in TMS320c6x20 years ago

Hi everybody,   I want to profile my program on TMS320C6713 and I found some instructions in "spru198g.pdf" , page 41-42. ...

Hi everybody,   I want to profile my program on TMS320C6713 and I found some instructions in "spru198g.pdf" , page 41-42.   1) In section 2.3.1.1 , they talk about the command :  


Profiling between simulator and hardware

Started by Swaminathan Sathappan in TMS320c6x20 years ago 1 reply

Hi everyone, When I profile the same code in simulator(6416 Functional Simulator) and DSK (TMS320c6416), the difference in MIPS(Million...

Hi everyone, When I profile the same code in simulator(6416 Functional Simulator) and DSK (TMS320c6416), the difference in MIPS(Million Instructions Per Cycle) between the two is 1.0.Hardware board is consuming more cycles (higher MIPS) than the simulator. What could be the reason?? Swaminathan.S India. ______________________________________________________________________


Cache misses

Started by "H.264encoderondm642" in TMS320c6x20 years ago 2 replies

Hi All, I am implementing h.264 on ti dm642. There is a problem for encoder design. Actually my code is running fine. But from profile data...

Hi All, I am implementing h.264 on ti dm642. There is a problem for encoder design. Actually my code is running fine. But from profile data that i got is reason to concern. From profiling i come to know that data and instruction cache misses on L1, L2 both are 100%. I am surprised how it could be 100% if simulator is simulating cache behavior in "functional" simulation configuration. It is...


DATA

Started by sandeep gajbhiye in TMS320c6x19 years ago

hi there ! i am using C6713.i have did profiling with optimization (0-3) lavel. now i want to how to calculte the data memory for context...

hi there ! i am using C6713.i have did profiling with optimization (0-3) lavel. now i want to how to calculte the data memory for context data , tables , local variable and array ? i find memory map file , but didnt get the answer. Is the varialbe in the Code size tune are the data memory ? how to find memory for tables ? in which section it is stored ? my stack memory show 0x0 to 0x1000...


TI DM642 Profile Related

Started by gbalwant in TMS320c6x19 years ago

Hello, I am porting AAC decoder for DM642. I am facing some problems with profiling. The Cycles incl & cycles excl are not satisfactory....

Hello, I am porting AAC decoder for DM642. I am facing some problems with profiling. The Cycles incl & cycles excl are not satisfactory. Also, the no optimization profile results & optimized profile results are not satisfactory. A function having few lines is showing cycles nearly equal to main. for example For No optimization cycle.CPU: cycle.CPU: cycle.Total: cycle.Total: In...


CCS 3.1 crashes on statistics view

Started by "Norton, Peter" in TMS320c6x19 years ago 1 reply

Question - I can debug my C6414 target fine, but if I try to use any of the profiling tools like statistics view or cpu load graph, then CCS...

Question - I can debug my C6414 target fine, but if I try to use any of the profiling tools like statistics view or cpu load graph, then CCS 3.1 locks up on me and I have to kill it via task manager. Anyone know if there is there some trick to getting these tools to work? i.e. some interrupt that needs to be enabled for RTDX or something? (I am using 4.9 BIOS.) Thanks!


bit_rev is too slow when fft

Started by Xuchen Yao in TMS320c6x19 years ago 2 replies

Hi, Using C67x DSP library, whenever we perform FFT, like DSPF_sp_cfftr2_dit() or DSPF_sp_icfftr2_dif(), we must use bit_rev(). But bit_rev()...

Hi, Using C67x DSP library, whenever we perform FFT, like DSPF_sp_cfftr2_dit() or DSPF_sp_icfftr2_dif(), we must use bit_rev(). But bit_rev() is not in the DSP library, what I get is only C code written in "TMS320C67x DSP Library Programmer's Reference Guide". After some profiling, I found it extremely slow. Do we have ASM code for this function? Thank you. Xuchen


Confusion about profiling:DM6446 Cycle accurate simulator

Started by perushiv in TMS320c6x19 years ago

For DM6446 Cycle accuracy simulator, when I profiled 1. I got cycles.total and cycles.cpu data. This number for cycles.tota...

For DM6446 Cycle accuracy simulator, when I profiled 1. I got cycles.total and cycles.cpu data. This number for cycles.tota l=3*cycles.cpu. Which one should I consider and what is the meaning of both. 2. There is a field called "others" (this is, last but one element after functions that are been listed in left most coulmn), which is also taking some significant amount of cycles....


Doubt reg memory allocation DM6437

Started by src_be in TMS320c6x18 years ago

Hi all, i m facing some problems wrt to allocation of code and data sections on DM6437 board. 1)On 64x,all the sections(code and data) are...

Hi all, i m facing some problems wrt to allocation of code and data sections on DM6437 board. 1)On 64x,all the sections(code and data) are placed in L2MEM and the MIPS are calculated but On DM6437 i m not able to put all sections internally.how to decide which sections should lie internal and which others external? 2)while profiling on DM6437 board, keeping both program and data ...


ccs profiler

Started by Khawar Shahzad in TMS320c6x18 years ago 1 reply

Hi, I am using c6416 device cycle accurate simulator and i am profiling a piece of code. When i use clock() function to get the cycle count, i...

Hi, I am using c6416 device cycle accurate simulator and i am profiling a piece of code. When i use clock() function to get the cycle count, i get 16500 cycles for the code... but when i use code composer studio profiler tool then i get 25000 cycles as the cycle count. My question is that which cycle count is correct and why am i getting different cycle count. Thanks


Re: Re: CCS crash caused by too large program or Socket IO plug-in?

Started by Jeff Brower in TMS320c6x18 years ago

Janne- > We are trying to remove the need for actual Node Bs in our testing. New > env will also provide better tools for debugging and...

Janne- > We are trying to remove the need for actual Node Bs in our testing. New > env will also provide better tools for debugging and profiling. "port > the code to appropriate DSK board with Enet daughtercard and then send > test data via the Enet I/O" what does that mean? Do you know where I can > get more info about this? You can get a TCI6482 DSK board: http://c6000.spectrumdi