首页   按字顺浏览 期刊浏览 卷期浏览 Improving the understanding of Basic programs using profiling techniques
Improving the understanding of Basic programs using profiling techniques

 

作者: Eric Foxley,   HughC. Williams,  

 

期刊: International Journal of Mathematical Education in Science and Technology  (Taylor Available online 1979)
卷期: Volume 10, issue 4  

页码: 537-544

 

ISSN:0020-739X

 

年代: 1979

 

DOI:10.1080/0020739790100409

 

出版商: Taylor & Francis Group

 

数据来源: Taylor

 

摘要:

This paper describes how profiling techniques can be applied to Basic programs on a small minicomputer without backing store. The first section describes the purposes of program profiling, considers alternative and complementary techniques that have been used, and the reasons for providing profiling facilities for Basic. The paper then describes how the system was implemented on a Data General Nova 1220 computer. When a program is run under the system, in addition to its ordinary printout, a report is produced which shows how many times each line was executed, how many times each possible route was taken at IF and ON statements, and the details of the usage of each FOR loop. All the stages of the processing are illustrated using a simple example. The additional computer time and space required by the profiling system are examined with reference to data gathered from the analysis of 16 programs.

 

点击下载:  PDF (413KB)



返 回