Program analysis with a loop-function-based tracing tool on virtual platforms

Tsung Han Chiang, Cheng Yueh Liu, Chih Wei Yeh, Chia Heng Tu, Shih Hao Hung

Research output: Chapter in Book/Report/Conference proceedingConference contribution

1 Citation (Scopus)

Abstract

Understanding the program behavior and data dependen- cies are important when designing and accelerating applica- tions. However, conventional profiling tools are insuficient for tracking functions and loops of programs due to com- piler optimizations and probe effects. In order to minimize the probe effects, virtual platforms with timing simulation are used to monitor the profiled program and provide ex- ibility of evaluating the future platforms. Nevertheless, the profiling information is not collected in function- or loop- level for programmers to analyze and discover performance issues. This paper proposes a stack-pointer-based method with a later loop entry detection scheme to overcome the dificulties of detecting functions and loops for programs run- ning on a virtual platform. With the detailed performance counters and memory access patterns recorded along with the loop-call context tree, this paper also presents a frame- work collecting traces for detailed analysis on both of control ow and data ow of a program. The experimental results demonstrated the ability of the developed tool for collecting and profiling a program in a loop-call context tree form and for enabling further analysis on thread level parallelism and data dependency between functions and loops.

Original languageEnglish
Title of host publicationProceedings of the 2017 Research in Adaptive and Convergent Systems, RACS 2017
PublisherAssociation for Computing Machinery, Inc
Pages255-260
Number of pages6
ISBN (Electronic)9781450350273
DOIs
Publication statusPublished - 2017 Sep 20
Event2017 International Conference on Research in Adaptive and Convergent Systems, RACS 2017 - Krakow, Poland
Duration: 2017 Sep 202017 Sep 23

Publication series

NameProceedings of the 2017 Research in Adaptive and Convergent Systems, RACS 2017
Volume2017-January

Other

Other2017 International Conference on Research in Adaptive and Convergent Systems, RACS 2017
CountryPoland
CityKrakow
Period17-09-2017-09-23

All Science Journal Classification (ASJC) codes

  • Computer Science(all)
  • Control and Systems Engineering

Fingerprint Dive into the research topics of 'Program analysis with a loop-function-based tracing tool on virtual platforms'. Together they form a unique fingerprint.

Cite this