Performance Analysis of Parallel Programs for FT-X DSP
摘要
DSP is a typical embedded processor, usually embedded in mechanical devices or electrical systems, and its function is relatively simple, which is better to meet the real-time computing. Compared with general-purpose computers, debugging and performance analysis of parallel programs are more difficult to be developed in embedded systems. To solve this problem, this paper designs and implements a performance analysis method based on timer interrupt and abnormal interrupt for FT-X DSP platform. Interrupts are generated during the running of the program, and performance data are obtained and recorded by inserting the mixed code of C and assembly code into the interrupt function. Based on the on-chip debugging simulation unit of FT-X processor, the real-time hardware profile data of the target program is recorded, and the 2D-FFT algorithm is analyzed in detail through the developed data visualization tool, and some bottlenecks of performance optimization are found, which improves the overall performance of the program.