
Hitachi Embedded Workshop User Manual
223
This file contains information on the number of times functions are called and global variables are accessed. The
Hitachi Optimizing Linker (ver. 7.0 or later) is capable of reading the profile information file and optimizing the
allocation of functions and variables in correspondence with the status of the actual operation of the program.
To input the profiler information file to the linker, choose [Optimize] from the [Category] list box and check the
[Include Profile] box in the [Link/Library] sheet of the [Standard Toolchain] dialog box, and specify the name of
the profile information file.
Figure 4.50 Standard Toolchain Dialog Box (2)
To enable the settings in the [Include Profile] box, specify the [Optimize] list box as some setting other than
[None].
4.12.3
Loading Stack Information Files
You can select whether or not to read the stack information file in a message box for confirmation that is
displayed when a load module is loaded. Clicking the [OK] button of the message box loads the stack
information file. The message box for confirmation will be displayed when:
There are stack information files (extension: “*.SNI”).
The [Load Stack Information Files (SNI files)] check box is checked in the [Confirmation] sheet of the
[Options] dialog box (figure 4.51) that can be opened by choosing [Tools->Options] from the main menu.