Sign in

username:

password:



Not a member?

Search code-comp



Search tips

Subscribe to code-comp



code-comp by Keywords

ARM7 | BIOS | Bug | EVM | JTAG | Linker | LOG_printf | McBSP | Profiling | Relocation | RTDX | Simulator | Target | Watch

Sponsor

NEW! TMS320C6474: 3x the performance. 1/3 the cost. Three 1 GHz cores on 1 chip.

Discussion Groups

Discussion Groups | Code-Composer | Printf 30K cycles?

Technical discussions about Code Composer Studio.

  

Post a new Thread

Printf 30K cycles? - #JONATHAN SANITO# - Feb 21 6:28:00 2003



Hi all,

I am using C6711 DSK, CCS 2.0. I really had doubts in my program cycle count. I
was profiling 1 single printf statement and gives me the result of 34600 +
cycle. I believe printf should only takes around 3k cycles?

Do you have suggestions where I might be wrong?

btw, I am using the example on tutorial\hello1.pjt. Thanks in advance.

regards,

Jonathan

-----Original Message-----
From: #JONATHAN SANITO#
Sent: Thu 2/20/2003 4:52 PM
To:
Cc:
Subject: Cycle count problem Hi,

I tried one of the CCS tutorial on PBC, 'modem.pjt' to understand more about
cycle count. It turns out that the code profiled result differently from the one
in the help file. The different was quite significant. the cycle count in the
CCS tutorial gives about 26 k cycles, and when i run it (using the same project
configuration, no changes) i got the result about 15 times more for the cycle
count.

I wonder what is suppose to be the problem, any ideas?

How to actually counts the # of cycles correctly? I have doubts because my code
running on C6711 DSK compare to the same code running on P3 333, runs much
slower (shouldn't be right?). on my 6711 which I believes got the clock speed
150 mhz runs about 6 - 7 times more. Btw, in P3, i profile my code using
Rational Quantify.

regards,

Jonathan





(You need to be a member of code-comp -- send a blank email to code-comp-subscribe@yahoogroups.com )