Profile-Chart] Window; Types And Purposes Of Displayed Data - Renesas SH-4A User Manual

Microcomputer development environment system
Hide thumbs Also See for SH-4A:
Table of Contents

Advertisement

5.9.9

[Profile-Chart] Window

The [Profile-Chart] window displays the relation of calls for a specific function. This window
displays the specified function in the middle, with the callers of the function on the left and the
callees of the function on the right. The numbers of times the function calls the called functions or
is called by the calling functions are also displayed in this window.
5.9.10

Types and Purposes of Displayed Data

The profiling function is able to acquire the following information:
Address
You can see 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 execute larger functions, more of the cache memory will need to be
updated. 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.
Times
Sorting by the number of calls or accesses makes it easy to identify the
frequently called functions and frequently accessed global variables.
264
Figure 5.93 [Profile-Chart] Window

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh4al-dspE200f

Table of Contents