发明名称 Device, method of generating performance evaluation program, and recording medium
摘要 A device for generating a performance evaluation program includes: a memory; and a processor coupled to the memory. The processor is configured to: analyze a source code of a target program that is subject to performance evaluation, translate the source code into a binary code based on an analysis result of the source code while generating execution binary that has an evaluation area to be used in the performance evaluation at a target location corresponding to a candidate location of the target program, and write an evaluation code in the evaluation area of the execution binary to evaluate performance of the target program based on an evaluation item and the target location of the target program.
申请公布号 US9519567(B2) 申请公布日期 2016.12.13
申请号 US201414338659 申请日期 2014.07.23
申请人 FUJITSU LIMITED 发明人 Mukai Yuta;Miwa Hideki
分类号 G06F11/36 主分类号 G06F11/36
代理机构 Staas & Halsey LLP 代理人 Staas & Halsey LLP
主权项 1. A device for generating a performance evaluation program comprising: a memory; and a processor coupled to the memory and configured to: analyze a source code of a target program that is subject to performance evaluation,detect, from among a plurality of areas included in the source code, a plurality of evaluation areas corresponding to a plurality of candidates of a target location where a performance evaluation of the target program is executed, based on an analysis result of the source code, the plurality of candidates including one or more loop processings,secure the plurality of evaluation areas by writing a no-operation (NOP) instruction to each of the plurality of evaluation areas detected from the plurality of areas, the NOP instruction indicating an instruction to proceed to an execution of a next instruction without any execution,generate an execution binary by translating the source code including the written NOP instruction into a binary code,generate a location information file indicating a correspondence relationship between an address and an insertion location for each of the plurality of secured evaluation areas, andreplace the NOP operation stored in an evaluation area corresponding to the target location among the plurality of secured evaluation areas included in the execution binary with an evaluation code based on an evaluation item and the target location of the target program, according to the location information file, wherein the location information file includes a condition under which a loop processing is executed, for each of one or more evaluation areas related to the loop processing among the plurality of secured evaluation areas, the condition being a type of the loop processing which is based on a number of times of the loop processing.
地址 Kawasaki JP
您可能感兴趣的专利