Reply by Mauritz Jameson June 14, 20132013-06-14
Ok. I bought TI CCS and created a project. Love it so far....

Here's what I did after creating the project:

1. Run->Debug
2. Tools -> Profile -> Setup Profile Data Collection
3. In the Profile Setup Window I hit the "Activate" button
and the "Active On" field says ARMxx_0
4. I then hit Run->Resume (F8)

After the test is done, I look at the profile. There's a bunch
of columns. Is "Excl Count Average" the cycle count ? If not,
how do I get the cycle count for a particular function ?
How do I get better "resolution" ? I want to see which parts
of the code in a function contributes the most to the total
cycle count for that function.

Thank you.

Reply by maury June 14, 20132013-06-14
On Friday, June 14, 2013 8:46:58 AM UTC-5, Randy Yates wrote:
> maury writes: > On Thursday, June 13, 2013 8:55:18 PM UTC-5, Mauritz Jameson wrote: >> Hi, I can profile C code for Blackfin or SHARC in VisualDSP on >> Windows. Can I profile C code for an ARM CPU in some similar tool on >> Windows? If so, what options (products) are available for this? >> Thank you. > > Atolic has a FREE IDE called TrueStudio Lite. It will also do ARM (and > others), and is also an Eclispe-based IDE. You mean "Atollic?" Good to know. But I went to their site and the StudioLite is code-size limited to 32KB - fairly useless. (My MSP430 project is 80 KB!). Some of TI's support has slipped over the past few years, so I'm not necessarily a TI fanboy, but I think CCS is a pretty damn good deal at $800 the unlimited, full version with floating license. -- Randy Yates Digital Signal Labs http://www.digitalsignallabs.com
I was lucky and got CCS for $250 during a promotion.
Reply by Randy Yates June 14, 20132013-06-14
Les Cargill <lcargill99@comcast.com> writes:

> Randy Yates wrote: >> Mauritz Jameson <mjames2393@gmail.com> writes: >> >>> Hi, >>> >>> I can profile C code for Blackfin or SHARC in VisualDSP on Windows. >> >> Yes. >> >>> Can I profile C code for an ARM CPU in some similar tool on Windows? >>> If so, what options (products) are available for this? >> >> Yes. TI Code Composer Studio 5.4. In this case, you can also do it under >> linux (like me) since TI was forward enough to see linux as a serious >> development system target some years ago and now has a mature product >> available. >> > > > You mean Linux as a host?
Yes. I.e., I meant "some similar tool on linux" instead of "some similar tool on Windows." I.e., I meant the system on which you can run CCS. -- Randy Yates Digital Signal Labs http://www.digitalsignallabs.com
Reply by Les Cargill June 14, 20132013-06-14
Randy Yates wrote:
> Mauritz Jameson <mjames2393@gmail.com> writes: > >> Hi, >> >> I can profile C code for Blackfin or SHARC in VisualDSP on Windows. > > Yes. > >> Can I profile C code for an ARM CPU in some similar tool on Windows? >> If so, what options (products) are available for this? > > Yes. TI Code Composer Studio 5.4. In this case, you can also do it under > linux (like me) since TI was forward enough to see linux as a serious > development system target some years ago and now has a mature product > available. >
You mean Linux as a host? I don't know of any 320 class TI products that would easily run Linux on the target. There are TI products which include an ARM core (or N ARM cores ) and those can host Linux. -- Les Cargill
Reply by Randy Yates June 14, 20132013-06-14
maury <maury001@core.com> writes:

> On Thursday, June 13, 2013 8:55:18 PM UTC-5, Mauritz Jameson wrote: >> Hi, I can profile C code for Blackfin or SHARC in VisualDSP on >> Windows. Can I profile C code for an ARM CPU in some similar tool on >> Windows? If so, what options (products) are available for this? >> Thank you. > > Atolic has a FREE IDE called TrueStudio Lite. It will also do ARM (and > others), and is also an Eclispe-based IDE.
You mean "Atollic?" Good to know. But I went to their site and the StudioLite is code-size limited to 32KB - fairly useless. (My MSP430 project is 80 KB!). Some of TI's support has slipped over the past few years, so I'm not necessarily a TI fanboy, but I think CCS is a pretty damn good deal at $800 the unlimited, full version with floating license. -- Randy Yates Digital Signal Labs http://www.digitalsignallabs.com
Reply by maury June 14, 20132013-06-14
On Friday, June 14, 2013 8:26:47 AM UTC-5, maury wrote:
> On Thursday, June 13, 2013 8:55:18 PM UTC-5, Mauritz Jameson wrote: > Hi, I can profile C code for Blackfin or SHARC in VisualDSP on Windows. Can I profile C code for an ARM CPU in some similar tool on Windows? If so, what options (products) are available for this? Thank you. Atolic has a FREE IDE called TrueStudio Lite. It will also do ARM (and others), and is also an Eclispe-based IDE.
Oops. It seems that True Studio Lite is ARM only.
Reply by maury June 14, 20132013-06-14
On Thursday, June 13, 2013 8:55:18 PM UTC-5, Mauritz Jameson wrote:
> Hi, I can profile C code for Blackfin or SHARC in VisualDSP on Windows. Can I profile C code for an ARM CPU in some similar tool on Windows? If so, what options (products) are available for this? Thank you.
Atolic has a FREE IDE called TrueStudio Lite. It will also do ARM (and others), and is also an Eclispe-based IDE.
Reply by Randy Yates June 14, 20132013-06-14
Mauritz Jameson <mjames2393@gmail.com> writes:

> Hi, > > I can profile C code for Blackfin or SHARC in VisualDSP on Windows.
Yes.
> Can I profile C code for an ARM CPU in some similar tool on Windows? > If so, what options (products) are available for this?
Yes. TI Code Composer Studio 5.4. In this case, you can also do it under linux (like me) since TI was forward enough to see linux as a serious development system target some years ago and now has a mature product available. -- Randy Yates Digital Signal Labs http://www.digitalsignallabs.com
Reply by Mauritz Jameson June 13, 20132013-06-13
Hi,

I can profile C code for Blackfin or SHARC in VisualDSP on Windows.

Can I profile C code for an ARM CPU in some similar tool on Windows?
If so, what options (products) are available for this?

Thank you.