Algorithm Classification Using Worst-Case Ezecution Time
Problems in computer science require some time to produce an output. Some can be executed in few seconds or minutes. Others require hours, days or even centuries to produce an output. In this paper, we propose a technique to classify a problem in any of the above two categories without executing the input source code for a large test case. First, a Control Flow Graph is generated from the Intermediate code of the input source code. Then, this CFG is reduced and a set of linear equations is framed. The solution of these linear equations along with execution count of the loops is used to determine Worst Case Execution Time. This WCET is compared with a threshold to classify the problem as either having a definite or indefinite execution time. The main advantage of this approach is that control flow analysis is automatic and user annotations in terms of markers and scope are not required in the input code.
Worst Case Ezecution Time Control Flow Graph Intermediate Code Symbol Table
Mudit Mehrotra Ankur Goel Nipun Agarwal M Hima Bindu Department of Computer Science and Engineering and
Department of Computer Science and Engineering and Department of Mathematics Jaypee Institute of Information Technology University Noida, India
国际会议
北京
英文
1612-1616
2009-08-08(万方平台首次上网日期,不代表论文的发表时间)