Table of Contents        Previous topic       Next topic       

Source Code Profiling

Source code profiling is enabled by selecting Profile from the Simulate menu of the Embedded Development Studio.  When this option is enabled, the simulator will accumulate the cycle count associated with each line of executed source code.  When the simulator is closed, this profiling data will be sorted and displayed in the Source Code Profile.  The source lines that have consumed the most execution cycles will be shown at the top of the list.  You can jump to the relevant source line by double clicking on it in this list or by clicking the right mouse button on the line and selecting Go To Error.  You can move backwards and forwards through the source lines in this list using the Previous Error and Next Error commands available from the Edit menu.