Download TMS320C6x C Source Debugger User's Guide
Transcript
Major Functions of Simulator Memory System Analysis 9.1 Major Functions of Simulator Memory System Analysis The ’C6x memory system analysis functionality allows you to set breakpoints on or count any event that is supported by the simulator core. These events are added to the Analysis Events dialog box by polling the simulator core to determine which events it can support. The ’C6x memory system analysis interface allows you to set breakpoints on or count the following events, which are supported by the ’C6x: - Program memory accesses - Program cache hits - Program cache misses - Memory stalls - Off-chip program memory accesses - Off-chip data memory accesses - Data memory bank conflicts You can set breakpoints on or count multiple events. Set up event breakpoints ’C6x memory system analysis enables you to set breakpoints on system events. These events are called break events. You can break on any of the events supported by the ’C6x core, and you can set a breakpoint on one or more of these events. Break events are automatically counted by the event counter. Each break event is displayed in the Analysis Statistics window, along with the number of times that break event occurred during each execution of the program, the program address on which the last breakpoint occurred, and the name of the routine in which the breakpoint occurred. Count system events You can set up memory system analysis to count occurrences of system events during the execution of your program. You can count any single event or any combination of events supported by the ’C6x. Each event that you select to count is displayed in the Analysis Statistics window, along with the number of times that event occurs during the execution of your program. You can use all of the basic debugger step and run commands to determine the number of occurrences of each selected event that you want to count. The event counters keep incrementing with each execution of your program unless you select the Reset Counter button on the Analysis Statistics window. When you select the Reset Counter button, each of the event counters resets to 0 immediately. 9-2