发明名称 METHOD AND APPARATUS FOR OPTIMIZING COMPILATION IN PROFILING TECHNOLOGY
摘要 <p>Embodiments of the present invention provide a method and an apparatus for optimizing compilation in a profiling technology. The method for optimizing compilation in a profiling technology of the present invention comprises: obtaining at least two regions by dividing a software control flow diagram, and replacing an instrumentation function comprised in software corresponding to each region with a count operation; and executing the software corresponding to each region on a main thread, when execution of the software corresponding to one region is ended, starting at least one microthread to execute an operation other than the count operation of the instrumentation function comprised in the software corresponding to the region, so as to record information during execution of the software corresponding to the region; where the microthread and a main thread for executing software corresponding to a next region are executed in parallel. The embodiments of the present invention improve execution efficiency during compilation in a profiling technology, thereby solving a problem of low execution efficiency in the prior art.</p>
申请公布号 WO2015062369(A1) 申请公布日期 2015.05.07
申请号 WO2014CN86593 申请日期 2014.09.16
申请人 HUAWEI TECHNOLOGIES CO., LTD. 发明人 LIU, YING;HUANG, LEI
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址