https://scholars.lib.ntu.edu.tw/handle/123456789/118954
Title: | 在虛擬化的Firefox OS平台之應用程式追蹤 Application Tracing on Virtualized Firefox OS Platforms |
Authors: | 劉昇龍 Liu, Sheng-Lung |
Keywords: | 效能分析;虛擬平台;火狐作業系統;應用程式追蹤 | Issue Date: | 2014 | Abstract: | 在現今的手持裝置上,一個複雜的應用軟體效能,會受到多種不同的 因素影響,像是作業系統的狀態,手持裝置的週邊,或是應用軟體自己本 身的演算法。好的應用軟體分析工具可以幫助開發者了解應用軟體的行為,並加以改善。然而現有的效能分析工具想要一次性做到全系統的剖析是很不容易的,更別說要分析不同程式語言之間的行為像是JavaScript引擎和JavaScript程式這種有中介軟體的程式語言。 在本篇論文裡,我們描述了一個創新並且對系統影響很小的方法,可以 在虛擬平台上靜態的插入程式碼後以取得中介軟體之上動態的事件,來改善我們之前的研究VPA。經由這樣的方式整合不同程式語言之間的效能數據並分析。 我們選擇用Firefox OS來做個案研究,我們在基於QEMU的Firefox OS模 擬器上實現追蹤JavaScript程式的效能分析工具,並且用實驗來驗證該方法對系統影響是很小的,在理論上該方法具有很大的彈性,可以很容易放到不同的中介軟體上達到同樣的效果。 On a modern mobile device, the performance of a complex application may depend on a combination of several factors including operating system events, I/O devices and the application itself. Profiling and program analysis tools can help developers observe the behavior of an application. However, doing a system-wide execution profile is difficult for traditional profiling tools as it requires an integrated analysis of both kernel space and user space activities. The complexity of program analysis is even higher if application execution involves middleware like JavaScript engine or virtual machines. In this thesis, we describe an innovative static instrumentation and dynamic trigger method, called Smart Event Tracer(SET) Annotation, which is based on our previous work VPA. SET Annotation enables the users not only collect a complete trace of system activities and performance data but also collect the user-defined events with a little instrumentation overhead. User can insert SET Annotation into C/C++ program which is a popular programming language of developing middleware for JavaScript applications to get more profiling data. We integrate the SET Annotation framework into the Firefox OS emulator to collect JavaScript functions information for profiling web-applications. Comparing to the Firefox OS build-in profiler, our framework can monitor application behavior more realistically and provide more information. The experimental results show that the instrusiveness with SET Annotation is very light weight and much smaller than a general way. |
URI: | http://ntur.lib.ntu.edu.tw//handle/246246/261514 | Rights: | 論文公開時間:2016/08/25 論文使用權限:同意有償授權(權利金給回饋本人) |
Appears in Collections: | 資訊工程學系 |
File | Description | Size | Format | |
---|---|---|---|---|
ntu-103-R01922117-1.pdf | 23.32 kB | Adobe PDF | View/Open |
Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.