摘要 |
<p>When compiling a source code (113) to generate an executable program (114), a compiler (104) is used which is provided with functions to generate, for pseudo-object code which is an internal representation of object code, an instruction to add the number of instructions included in a basic block, which is a minimum unit of optimization, to a dynamic step counting-use counter and to embed the generated instruction into the basic block. By executing the executable program (114) that has been generated by the compiler (104), the number of dynamic steps corresponding to the conditions at execution time is counted, and the counted number is output to an auxiliary storage device as dynamic step information and displayed upon an output device (116) by a dynamic step display unit (111).</p> |