I tried to get all functions profiling, but I couldn't.
As running my program, I setup
Tool -> Profile -> Setup Profile Data Collection
All I get is like this,
I know there is another way to get profile using "time.h"
But it's very inconvenience. Is there anyone can help me to get profiling of all functions?
Thanks a lot.
IDE version - CCS 5.2
Processor - DM8168, trying to analyze a program on C674x
The CCS function profiler is not supported on C6000 HW. Depending on what emulator and if you using BIOS or not, you may have other options for profiling. Please provide as much details on your environment as possible.
Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.
Having CCS problems? Check out the CCS Troubleshooting Guide
Looking for CCS Training? Check out the CCS Training Site
Curious about the status of a bug and know the tracking ID? Track it via the public bug tracking portal
In reply to Ki-Soo Lee:
Hi Ki-Soo Lee,
My simulation environment is
no BIOS, TI XDS100v2 USB emulator
Using BIOS, I can log timing information by LOG events, but it's really inconvinence.
By the way, as my code size becomes larger, I cannot use XDC tool because the memory location is fixed in some defualt files, and it's not large enough for my program.
Where can I modify the memory setting?
In reply to Lin Chiung:
Sorry for the lat response.
Unfortunately your options for function profiling support with the debugger on C6000 HW with an XDS100v2 is limited.
One possible options is because you are using C6000, you can try taking a look at Path Profiling. Basically the compiler will add additional instrumentation code to you application to collect profiling data. This will add to your code size (for the additional instrumentation code and for memory to store the collected data) but the benefits are that it is non-intrusive in the way it collects the data. You can then view profiling data via function and line level in CCS.
More information on this is in the C6000 Compiler User's Guide (section 3.8 and 3.9);
Hope this helps
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.