Download SuperHTM RISC engine Simulator/Debugger User`s Manual
Transcript
SuperH™ RISC engine Simulator/Debugger User’s Manual • Clear Data Clears the number of times functions are called. Data in the [List] and [Tree] sheets of the [Profile] window are also cleared. • Multiple View If a further [Profile-Chart] window is opened while an existing [Profile-Chart] window is already open, this option selects whether a new window is opened or the new data is displayed in the existing window. When a check mark is shown to the left of this menu item, a new window will be opened. • Output Profile Information Files... Displays the [Save Profile Information Files] dialog box. Profiling results are saved in a profile information file (.pro extension). The optimizing linkage editor optimizes user programs according to the profile information in this file. For details on optimization with the profile information, refer to the user’s manual for the optimizing linkage editor. • Expands Size Redo the display with larger intervals between functions. The "+" key can also be used to do this. • Reduces Size Redo the display with smaller intervals between functions. The “-” key can also be used to this. 3.6.10 Types and Purposes of Displayed Data The profile function is able to acquire the following information: Address You can view the locations in memory to which the functions are allocated. Sorting the list of functions and global variables in order of their addresses allows the user to view the way the items are allocated in the memory space. Size Sorting in order of size makes it easy to find small functions that are frequently called. Setting such functions as inline may reduce the overhead of function calls. If you are using a device which incorporates a cache memory, greater amount of cache memory will need to be updated when you execute larger functions. This information allows you to check if those functions that may cause cache misses are frequently called. Stack Size When there is deep nesting of function calls, pursue the route of the function calls and obtain the total stack size for all of the functions on that route to estimate the amount of stack being used. 106