
Hitachi Embedded Workshop User Manual
222
4.12
Viewing the Profile Information
The profile function enables function-by-function measurement of the performance of the application program in
execution. This makes it possible to identify parts of an application program that degrade its performance and the
reasons for such degradation.
The HEW displays the results of measurement in three windows, according to the method and purpose of
viewing the profile data.
4.12.1
Stack Information Files
The profile function allows the HEW to read the stack information files (extension: “.SNI”) which are output by
the Hitachi Optimizing Linker (ver. 7.0 or later). Each of these files contains information related to the calling of
static functions in the corresponding source file. Reading the stack information file makes it possible for the
HEW to display this information to do with the calling of functions without executing the user application (i.e.
before measuring the profile data). However, this feature is not available when [Setting->Only Executed
Functions] is checked in the pop-up menu of the [Profile] window.
measurement will be displayed by the profile function.
To make the linker create a stack information file, select [Other] from the [Category] list box and check the
[Stack information output] box in the [Link/Library] sheet of the [Standard Toolchain] dialog box.
Figure 4.49 Standard Toolchain Dialog Box (1)
4.12.2
Profile Information Files
To create a profile information file, choose the [Output Profile Information Files…] menu option from the pop-
up menu of the [Profile] window and specify the file name, after measuring a profile data of the application
program.