Forums

Real time profiling

Started by Kiran Chitriki February 25, 2003
Hi,

How do i profile my code while running real time? Though we can check
clock by enabling the clock while running the code real time are those cycle
counts reliable.if anybody knows the best way to do real time profiling
please suggest.

Thanks,
Kiran




Hi Kiran,
You can use the clock but if you do want to automate your cycle profiling, you
can use the TIMER module provided in the csl. If you are profiling a big
quantity say more than 10000 cycles, it really doesn't matter if you use clock
or you use TIMER cos the error is very small. Hope this helps.
Ganesh
----- Original Message -----
From: Kiran Chitriki
To:
Sent: Tuesday, February 25, 2003 5:06 PM
Subject: [c6x]Real time profiling Hi,

How do i profile my code while running real time? Though we can check
clock by enabling the clock while running the code real time are those cycle
counts reliable.if anybody knows the best way to do real time profiling
please suggest.

Thanks,
Kiran

_____________________________________
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 entire group.

_____________________________________
About this discussion group:

To Join: Send an email to

To Post: Send an email to

To Leave: Send an email to

Archives: http://www.yahoogroups.com/group/c6x

Other Groups: http://www.dsprelated.com ">http://docs.yahoo.com/info/terms/



DSP/BIOS allows profiling by using the Statistics (STS_set and STS_delta)
functions in your code with the real time results for count, max and avg
reported through the Statistics View plugin. The statistics data is
transferred non-obtrusively through RTDX during idle (referring to DSP/BIOS
IDL_loop).

Thom

-----Original Message-----
From: Kiran Chitriki [mailto:]
Sent: Tuesday, February 25, 2003 3:37 AM
To:
Subject: [c6x]Real time profiling Hi,

How do i profile my code while running real time? Though we can check
clock by enabling the clock while running the code real time are those cycle

counts reliable.if anybody knows the best way to do real time profiling
please suggest.

Thanks,
Kiran

_____________________________________
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 entire group.

_____________________________________
About this discussion group:

To Join: Send an email to

To Post: Send an email to

To Leave: Send an email to

Archives: http://www.yahoogroups.com/group/c6x

Other Groups: http://www.dsprelated.com ">http://docs.yahoo.com/info/terms/