DSPRelated.com
Forums

AW: "optimization-cycle count"

Started by Christoph Ripcke December 13, 2001
Hi,

like I wrote some weeks ago, the SHARC's have two registers, which are
counting the cycles. These are the ones which are used by the debugger. They
don't have syntaxhiglighting, but they are accessible by the assembler. So
you can reference them via asm (). They are called emuclk and emuclk2 and
they form a 64-Bit cycle counter. You can check and have a try with the
debugger.

regards
Christoph
----------------
m.u.t GmbH
DSP engineering & software development
Christoph Ripcke
Am Marienhof 2
22880 Wedel, Germany

mail: mailto:
phone: +49-4103-9308-38
fax: +49-4103-9308-7038
---------------- -----Ursprgliche Nachricht-----
Von: P Narayanaswamy [mailto:]
Gesendet: Donnerstag, 13. Dezember 2001 05:11
An:
Betreff: Re: [adsp] "optimization-cycle count" Hi,
I too need the same for 2106x SHARC Processors. If any body knows, plz
let me know how to read the cycle count.
Thanks and Regards,
P Narayanaswamy

On Wed, 12 Dec 2001, ranju_pai wrote:

> hi!
>
> does somebody know how to count a no.fo cycles for a given function
> using adsp-21xx(2181) visual dsp++ without the profile option
> available?
> for eg in TI processor one can do the profiling using
> start=clock();
> function();
> stop=clock();
> since there is no <time.h >header file available in adsp visual dsp++
> 2.0 can any one of u help in getting the benchmarking code on the
> adsp-21xx to do optimization.
>
> thanks and regards >
> _____________________________________
> 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://groups.yahoo.com/group/adsp
>
> Other Groups: http://www.dsprelated.com/groups.php3 > ">http://docs.yahoo.com/info/terms/
_____________________________________
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://groups.yahoo.com/group/adsp

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