Viewing Realtime Profile Information - Renesas SH-4A User Manual

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

Advertisement

5.10

Viewing Realtime Profile Information

The realtime profiling function is used to measure the execution performance in the specified
range of the application program in a function unit. This function is effective to investigate the
position and the cause of the lowered performance in the application program.
The realtime profiling function does not affect the realtime operation because it measures the
performance by using the profiler measurement circuit on the main unit case and expansion
profiling unit of the emulator.
The following shows the realtime profiling measurement modes:
• Function mode
This function does not include the subroutine execution time when accumulation of the
function execution time is displayed.
• Nest mode
This function includes the subroutine execution time when accumulation of the function
execution time is displayed.
Determine which mode is to be used in the [Function select] dialog box that is displayed when the
emulator is activated.
Note: There are following restrictions in the realtime profiling function.
(1) Restrictions on all the realtime profiling functions
(i) Areas to be measured
In the emulator, 512 Kbytes are considered as a unit to acquire the profiling information on
all the functions in the areas of a maximum of 24 blocks.
The hardware of the emulator has a maximum of three types of memory for measuring
eight blocks to implement the realtime profiling function.
Note that the adjacent address areas can be set in each block, however, it is impossible to
set a function of which address ranges are extended on the eight-block boundaries. If such a
function is set, a warning message will be displayed and correct measurement will not be
performed.
(ii) Inline expansion
When the functions are inline-expanded in accordance with optimization of the compiler,
they are not displayed in the [Realtime Profile] window.
268

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh4al-dspE200f

Table of Contents