Performance Analysis of Concurrent Programs Using Ordinary Differential Equations

  • Authors:
  • Zuohua Ding;Kao Zhang

  • Affiliations:
  • -;-

  • Venue:
  • COMPSAC '08 Proceedings of the 2008 32nd Annual IEEE International Computer Software and Applications Conference
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

Based on Continuous Petri Net, we build differential equation model for concurrent programs. The program behavior can be analyzed from the curves of the solutions of the differential equations. We show that a program state can be measured with a number between 0 and 1, called state measure, indicating how much the state can be reached while the program is in execution. Thus, instead of displaying one state at one time, a program can display all states at one time with state measure attached to each state. This information can help us to estimate where and how much the resources have been used. The advantage of our method is that we can avoid state explosion problem while doing program analysis. Our equations can be solved by Matlab and simulated with a tool: Snoopy.