Title :
Algorithm classification using Worst-Case Execution Time
Author :
Mehrotra, Mudit ; Goel, Ankur ; Agarwal, Nipun ; Bindu, M. Hima ; Sharma, Bhudev
Author_Institution :
Dept. of Comput. Sci. & Eng., Jaypee Inst. of Inf. Technol. Univ., Noida, India
Abstract :
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.
Keywords :
algorithm theory; graph theory; pattern classification; WCET; algorithm classification; computer science; control flow analysis; control flow graph; input source code; linear equations; user annotations; worst-case execution time; Classification algorithms; Computer science; Equations; Flow graphs; Information technology; Input variables; Mathematics; Performance evaluation; Real time systems; Time measurement; Control Flow Graph; Intermediate Code; Symbol Table; Worst Case Execution Time;
Conference_Titel :
Computer Science and Information Technology, 2009. ICCSIT 2009. 2nd IEEE International Conference on
Conference_Location :
Beijing
Print_ISBN :
978-1-4244-4519-6
Electronic_ISBN :
978-1-4244-4520-2
DOI :
10.1109/ICCSIT.2009.5234725