摘要
随着国产处理器和国产操作系统的逐步推广应用,越来越多的开发人员在国产平台下开发多线程程序.目前国产平台普遍采用的Qt Creator 工具中缺乏可视化的并发性能分析工具,使得优化由于多线程同步/互斥和资源竞争带来的性能问题变得特别困难.设计一种Qt Creator 下的并发性能分析方案,通过实时监控程序并发事件,采集程序运行过程中的并发性能数据,分析程序并发性能瓶颈和死锁原因,并以插件形式进行多视图数据显示.通过实验表明,该并发性能分析方案可以方便、快捷地辅助用户开发多线程并发程序,提高软件开发效率.
With the gradual promotion and application of domestic processors and domestic operating systems, more and more developers are developing multi-threaded programs under domestic platforms. The lack of visual concurrent performance analysis tools in the Qt Creator tools commonly used in domestic platforms makes it extremely difficult to optimize performance problems due to multi-thread synchronization/mutual exclusion and resource competition. This study designs a concurrent performance analysis scheme under Qt Creator through real-time monitoring of concurrent events, collects concurrent performance data during program running, analyzes performance concurrency bottlenecks and deadlock causes, and displays multi-view data in plug-in form. Experiments show that the concurrent performance analysis program can easily and quickly assist users to develop multi-threaded concurrent programs and improve software development efficiency.
作者
王立杰
胡先浪
张大方
WANG Li-Jie;HU Xian-Lang;ZHANG Da-Fang(Department of Electronic Equipment, Jiangsu Automation Institute, Lianyungang 222006, China)
出处
《计算机系统应用》
2019年第6期100-104,共5页
Computer Systems & Applications