Pls see the answers below,
What are the functions that you are trying to
All major functions in the encoder
What are your project settings ?
Function Profile Debug, Speed most Critical, Opt level:File, Program Level OPt: No
External Var Refs, RTS Modifications: Defns no Funcs, Memory Models: Far Calls
& Data, RTS CAlls:Use Memory Model
What is your memory allocation pattern
ISDRAM base:0x0, length:40000, heap size
SDRAM base:0x80000000, length:0x5000000, heap size:
All code and data are loaded to SDRAM, L2 cache 256k
What is the frequency of your DSP
DM 642 600MHZ
Have you optimized your code or are you trying
to cross-compile the code ?
Optimazed on Pentium 3.2G PC, speed around 80fps. Now on
DSP only 2fps, need realtime 15fps
How are you profiling ? Are you using clock()
functions or TIMER module ?
Using profiler tool. Under menu->Start new Sesseion,
then select profile area. No clock() functions or TIMER module
Ganesh Vijayan <g...@emuzed.com> wrote:
Mike Dunn wrote appropriately that Beware of
your profiling. Kindly tell me the following to help you to profile your code
- What are the functions that you are trying to
- What are your project settings ?
- What is your memory allocation pattern
- What is the frequency of your DSP
- Have you optimized your code or are you trying
to cross-compile the code ?
- How are you profiling ? Are you using clock()
functions or TIMER module ? If so, can you share your settings with us. I guess
3rd answer should be a true indicator of your encoder's
If you can shed some light on the above, then it would be helpful to point
out your problem.
Hope this helps.
----- Original Message -----
From: Yong Yang
To: Jeff Brower
Cc: c...@yahoogroups.com ; C...@yahoogroups.com
Sent: Monday, April 26, 2004 8:58 AM
Subject: Re: [c6x] How to speed up profiling
The simple loopback is working. Actually i got it from a TI sample program
of EVM DM642, called "scaling", which gets captured video and outputs to TV. I
simply changed the output to the internal buffer of my encoder. Maybe shall
i remove all the code about display?
You can find this sample from C:\ti\boards\evmdm642\examples\video\driver\,
if you installed CCS in C:\ti\.
Jeff Brower <j...@signalogic.com>
> I am profiling my video
encoder program on TI DM642 EVM. It's extremely slow. 17
> hours has
passed but it even has not encoded one frame! Any way to speed it up?
I'd be happy to help you with some advice, since we are working with DM642 EVM
It sounds like you are sort of stuck with basic
things that need to be fixed before
you can even think about video encoder
Could you answer my previous first? I need to know if
you could get simple loopback
working, without your video codec. I cannot
help you unless you answer my questions.
Note: If you do a simple "reply" with your
email client, only the author of this message will receive your answer.
You need to do a "reply all" if you want your answer to be distributed to the
To Join: Send an email to
To Post: Send an email to
To Leave: Send an email to
Yahoo! Groups Links