請用此 Handle URI 來引用此文件:
http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/3704
標題: | 基於程式相態特性的異質系統效能分析 Characterization of Program Phases for Heterogeneous Systems with Virtual Platforms |
作者: | Jen-Chieh Wu 吳仁捷 |
指導教授: | 洪士灝(Shih-Hao Hung) |
關鍵字: | 程式相態,程式分析,裝置友善度, Program phases,Profiling tool,GPU friendliness, |
出版年 : | 2016 |
學位: | 碩士 |
摘要: | 面對不熟悉的程式時,程式行為分析工具扮演著重要的角色。面對複雜的程式,能夠針對程式各段不同的行為做出分析,也成為重要的課題。先前的研究聚焦在分析程式的各個函式或是迴圈,然而這樣的分析忽略了在函式及迴圈的內部也存在著不同的行為。
在這份研究中,我們使用程式相態判別(Program Phase Detection)的技術做為將程式切分的依據,並建立了以此為基礎的分析工具。更進一步,我們藉由機器學習預測每個程式相態的GPU友善度,驗證了程式相態在某些高階特徵上確實存在群聚效果,其預測準確度為94%。最後我們藉由實際的例子,說明以程式相態為基礎的分析工具確實可以偵測出函式及迴圈內部的不同行為。 When we first met an unfamiliar program, the profiling tool plays an important role in understanding program behavior. As software applications become more and more complicated, to profile each section with different behavior in the program is crucial. Previous studies focus on profiling each function or loop in the program, however, which might ignore the fact that different behaviors happen inside a loop or a function. In this study, we use program phase detection to partition the program and build up a profiling tool based on it. Furthermore, we verified the grouping effect of program phases on some high-level features by predicting GPU friendliness of each program phase with machine learning model. The accuracy of prediction comes to 94%. At last, we take real applications as test cases, showing that the profiling tool based on program phase detection is able to detect behavior changing inside a loop or a function. |
URI: | http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/3704 |
DOI: | 10.6342/NTU201602721 |
全文授權: | 同意授權(全球公開) |
顯示於系所單位: | 資訊工程學系 |
文件中的檔案:
檔案 | 大小 | 格式 | |
---|---|---|---|
ntu-105-1.pdf | 2.91 MB | Adobe PDF | 檢視/開啟 |
系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。