基于嵌入式多核環(huán)境下的應(yīng)用級(jí)軟件性能監(jiān)控的研究
發(fā)布時(shí)間:2018-03-15 17:49
本文選題:多核調(diào)試器 切入點(diǎn):GTK+界面設(shè)計(jì) 出處:《華中科技大學(xué)》2013年碩士論文 論文類型:學(xué)位論文
【摘要】:隨著處理器技術(shù)的不斷發(fā)展,以前單純通過提高處理器頻率來提高處理器性能的方法已經(jīng)不可取了。取而代之的是橫向擴(kuò)展處理器的方法,即發(fā)展多核處理器,通過增加處理器的核心數(shù)量來提高處理器的性能。隨著多核處理器的普及,多線程程序越來越多,越來越復(fù)雜。在現(xiàn)代商業(yè)競(jìng)爭(zhēng)中,時(shí)間就是金錢,研究表明現(xiàn)在花費(fèi)在軟件調(diào)試上的時(shí)間越來越多。減少軟件調(diào)試的時(shí)間就能減少軟件開發(fā)周期,從而降低軟件的成本。因此需要提供方便高效的調(diào)試工具,協(xié)助開發(fā)人員盡可能快速準(zhǔn)確地找出軟件中的錯(cuò)誤,,以提高系統(tǒng)的可靠性和穩(wěn)定性。多核調(diào)試器是進(jìn)行多核軟件開發(fā)的關(guān)鍵工具。 本調(diào)試系統(tǒng)運(yùn)行在Linux桌面操作系統(tǒng)上,被調(diào)試程序及調(diào)試代理運(yùn)行在目標(biāo)機(jī)端,系統(tǒng)通過RSP協(xié)議進(jìn)行遠(yuǎn)程通信。宿主機(jī)端用戶發(fā)出特定命令經(jīng)過解析之后由RSP協(xié)議傳輸給目標(biāo)機(jī)端,然后目標(biāo)機(jī)端解析數(shù)據(jù),獲得特定的命令來進(jìn)行處理和運(yùn)算,最后返回?cái)?shù)據(jù)給宿主機(jī)端。本文首先介紹系統(tǒng)的總體設(shè)計(jì),然后對(duì)多核調(diào)試的具體功能以及實(shí)現(xiàn)作了詳細(xì)描述,同時(shí)基于GTK+設(shè)計(jì)了系統(tǒng)的界面布局,最后對(duì)系統(tǒng)進(jìn)行了功能性測(cè)試。 本系統(tǒng)是針對(duì)龍芯3A嵌入式平臺(tái)開發(fā)的一款多核調(diào)試器。通過關(guān)鍵技術(shù)的詳細(xì)描述深入分析了系統(tǒng)各關(guān)鍵模塊的實(shí)現(xiàn),最后經(jīng)過系統(tǒng)性的測(cè)試保證了系統(tǒng)的良好運(yùn)行。
[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.
【學(xué)位授予單位】:華中科技大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2013
【分類號(hào)】:TP332
【參考文獻(xiàn)】
相關(guān)期刊論文 前10條
1 姜寧;;從ADS到RealView MDK[J];今日電子;2007年07期
2 周金和;張景璐;;一種嵌入式系統(tǒng)實(shí)現(xiàn)的JTAG調(diào)試器[J];電子技術(shù)應(yīng)用;2006年11期
3 王強(qiáng);張宇e
本文編號(hào):1616296
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1616296.html
最近更新
教材專著