57CHAPTER 2 DEPENDENCE FUNCTIONS2.1.12 Measuring CoverageIn the high-speed version simulator debugger, the C0 coverage measurement function isprovided. Use this function to find what percentage of an entire program has beenexecuted.■ Coverage Measurement FunctionWhen testing a program, the program is executed with various test data input and the results are checked forcorrectness. When the test is finished, every part of the entire program should have been executed. If any parthas not been executed, there is a possibility that the test is insufficient.It can know what percentage of the entire program executed when the coverage function for the high-speedversion simulator debugger to have is used.In addition, details such as which addresses were not accessed can be checked.In this debugger, the range to measure coverage can be set.Please set the time base range only to the code area when you do the C0 coverage.Moreover, the access of the variable can be examined as the variable not used is searched out by setting thetime base range to the data area.■ Coverage Measurement ProceduresThe procedure for coverage measurement is as follows:• Set range for coverage measurement: SET COVERAGE• Measuring coverage: GO, STEP, CALL• Displaying measurement result: SHOW COVERAGE■ Coverage Measurement OperationThe following operation can be made in coverage measurement:• Load/Save of coverage data: LOAD/COVERAGE. SAVE/COVERAGE• Clearing coverage data: CLEAR COVERAGE• Canceling coverage measurement range: CANCEL COVERAGE