309
CHAPTER 2 DEPENDENCE FUNCTIONS
● Using Command for Measuring
1. Specify performance events.
- Execute the SET EVENT command.
For details, refer to Section "3.22 SET EVENT(type 2)" in "SOFTUNE Workbench Command
Reference Manual".
2. Specify the performance measuring interval.
- Execute the SET PERFORMANCE command.
For details, refer to Section "4.9 SET PERFORMANCE (type 3)" in "SOFTUNE Workbench
Command Reference Manual".
3. Execute user programs.
4. Display the measurement result.
- Execute the SHOW PERFORMANCE command.
For details, refer to Section "4.11 SHOW PERFORMANCE(type 1)" in "SOFTUNE Workbench
Command Reference Manual".
■ Ending the Measurement
The performance measurement is ended in one of the following cases.
• The measuring count has reached 65535.
• A user program has stopped during measurement.
Notes:
• If [Refresh] is selected in the performance window during performance measuring, only the
measuring count appears.
• Whether the performance measurement is currently being continued can be checked using the
built-in variable "%GET_PERFORMANCESTATE".
Refer to "14.25 %GET_PERFORMANCESTATE" of "SOFTUNE Workbench Command
Reference Manual" for details.
• If the starting event and ending event of the performance measurement is set to the string
instruction, the event is not detected correctly and the performance measurement may not operate
as expected.