发明名称 Program Generating Apparatus, Method of Generating Program, and Medium
摘要 According to an embodiment, a program generating apparatus includes a cross-compiling unit, a processing time calculating unit, a source code converting unit, and a self-compiling unit. The cross-compiling unit generates sin instruction string for each basic block based on a source code and specifies instructions performing a memory access. The processing time calculating unit calculates a processing time of the instruction string for each basic block. The source code converting unit inserts a first code, which adds the processing time of the basic block to an accumulated processing time variable of an executed thread of the basic block, and a second code, which calculates the processing time for the specified memory access and adds the calculated processing time to the accumulated processing time variable, into the source code. The self-compiling unit generates a performance estimating program outputting the accumulated processing time variable of the thread executed.
申请公布号 US2013019230(A1) 申请公布日期 2013.01.17
申请号 US201213423641 申请日期 2012.03.19
申请人 KABUSHIKI KAISHA TOSHIBA;NAKANISHI YU;KIZU TOSHIKI;SASAKI SHUNSUKE;TOKUYOSHI TAKAHIRO 发明人 NAKANISHI YU;KIZU TOSHIKI;SASAKI SHUNSUKE;TOKUYOSHI TAKAHIRO
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址