基于嵌入式多核環(huán)境下的應用級軟件性能監(jiān)控的研究
發(fā)布時間:2018-03-15 17:49
本文選題:多核調試器 切入點:GTK+界面設計 出處:《華中科技大學》2013年碩士論文 論文類型:學位論文
【摘要】:隨著處理器技術的不斷發(fā)展,以前單純通過提高處理器頻率來提高處理器性能的方法已經(jīng)不可取了。取而代之的是橫向擴展處理器的方法,即發(fā)展多核處理器,通過增加處理器的核心數(shù)量來提高處理器的性能。隨著多核處理器的普及,多線程程序越來越多,越來越復雜。在現(xiàn)代商業(yè)競爭中,時間就是金錢,研究表明現(xiàn)在花費在軟件調試上的時間越來越多。減少軟件調試的時間就能減少軟件開發(fā)周期,從而降低軟件的成本。因此需要提供方便高效的調試工具,協(xié)助開發(fā)人員盡可能快速準確地找出軟件中的錯誤,,以提高系統(tǒng)的可靠性和穩(wěn)定性。多核調試器是進行多核軟件開發(fā)的關鍵工具。 本調試系統(tǒng)運行在Linux桌面操作系統(tǒng)上,被調試程序及調試代理運行在目標機端,系統(tǒng)通過RSP協(xié)議進行遠程通信。宿主機端用戶發(fā)出特定命令經(jīng)過解析之后由RSP協(xié)議傳輸給目標機端,然后目標機端解析數(shù)據(jù),獲得特定的命令來進行處理和運算,最后返回數(shù)據(jù)給宿主機端。本文首先介紹系統(tǒng)的總體設計,然后對多核調試的具體功能以及實現(xiàn)作了詳細描述,同時基于GTK+設計了系統(tǒng)的界面布局,最后對系統(tǒng)進行了功能性測試。 本系統(tǒng)是針對龍芯3A嵌入式平臺開發(fā)的一款多核調試器。通過關鍵技術的詳細描述深入分析了系統(tǒng)各關鍵模塊的實現(xiàn),最后經(jīng)過系統(tǒng)性的測試保證了系統(tǒng)的良好運行。
[Abstract]:With the development of processor technology, it is no longer advisable to improve processor performance simply by increasing processor frequency. Improve processor performance by increasing the number of cores of processors. With the popularity of multicore processors, multithreaded programs are becoming more and more complex. In modern business competition, time is money. Research shows that more and more time is spent on software debugging. Reducing the time spent on software debugging can reduce the software development cycle and thus reduce the cost of software. Therefore, it is necessary to provide convenient and efficient debugging tools. To help developers find errors in software as quickly and accurately as possible in order to improve the reliability and stability of the system. Multi-core debugger is a key tool for multi-core software development. The debugging system runs on the Linux desktop operating system, and the debugged program and debugging agent run on the target machine. The system communicates remotely through the RSP protocol. The users of the host computer send out specific commands after parsing, and then the RSP protocol transmits the data to the target machine, and then the data is parsed, and the specific commands are obtained for processing and operation. Finally, the data is returned to the host terminal. This paper first introduces the overall design of the system, and then describes the specific functions and implementation of multi-core debugging in detail. At the same time, the interface layout of the system is designed based on GTK. Finally, the function of the system is tested. This system is a multi-core debugger developed for the Longson 3A embedded platform. Through the detailed description of the key technology, the realization of the key modules of the system is analyzed in depth, and the good operation of the system is ensured by systematic test.
【學位授予單位】:華中科技大學
【學位級別】:碩士
【學位授予年份】:2013
【分類號】:TP332
【參考文獻】
相關期刊論文 前10條
1 姜寧;;從ADS到RealView MDK[J];今日電子;2007年07期
2 周金和;張景璐;;一種嵌入式系統(tǒng)實現(xiàn)的JTAG調試器[J];電子技術應用;2006年11期
3 王強;張宇e
本文編號:1616296
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1616296.html
最近更新
教材專著