Browse > Article

The Software Complexity Estimation Method in Algorithm Level by Analysis of Source code  

Lim, Woong (Dept. of Computer Engineering, Kwangwoon University)
Nam, Jung-Hak (Dept. of Computer Engineering, Kwangwoon University)
Sim, Dong-Gyu (Dept. of Computer Engineering, Kwangwoon University)
Cho, Dae-Sung (Samsung Electronics)
Choi, Woong-Il (Samsung Electronics)
Publication Information
Abstract
A program consumes energy by executing its instructions. The amount of cosumed power is mainly proportional to algorithm complexity and it can be calculated by using complexity information. Generally, the complexity of a S/W is estimated by the microprocessor simulator. But, the simulation takes long time why the simulator is a software modeled the hardware and it only provides the information about computational complexity quantitatively. In this paper, we propose a complexity estimation method of analysis of S/W on source code level and produce the complexity metric mathematically. The function-wise complexity metrics give the detailed information about the calculation-concentrated location in function. The performance of the proposed method is compared with the result of the gate-level microprocessor simulator 'SimpleScalar'. The used softwares for performance test are $4{\times}4$ integer transform, intra-prediction and motion estimation in the latest video codec, H.264/AVC. The number of executed instructions are used to estimate quantitatively and it appears about 11.6%, 9.6% and 3.5% of error respectively in contradistinction to the result of SimpleScalar.
Keywords
complexity estimation; software optimization; power consumption;
Citations & Related Records
연도 인용수 순위
  • Reference
1 Vivek Tiwari, Sharad Malik, Andrew Wolfe, "Power analysis of embedded software: a first step towards software power minimization", IEEE Trans. Very Large Scale Integration (VLSI) Systems, Vol. 2, no. 4, pp. 437-445, December 1994.   DOI
2 Vivek Tiwari, Sharad Malik, Andrew Wolfe, "Instruction level power analysis and optimization of software", IEEE VLSI Design, 1996. Proceedings., Ninth International Conference, pp. :326 - 328, Bangalore, India, Jan. 1996.
3 Chi-ying Tsui; Marculescu, R.; Marculescu, D.; Pedram, M., "Improving the efficiency of power simulators by input vector compaction", 33rd IEEE Design Automation Conference, pp. 165-168, Las Vegas, NV, 3-7 June 1996.
4 Diana Marculescu, Radu Marculescu, Massoud Pedram, "Stochastic Sequential Machine Synthesis Targeting Constrained Sequence Generation", the 33rd annual Design Automation Conference, pp. 696-701, Las Vegas, Nevada, United States, January, 1996.
5 Chun-Hao Hsu, Jian Jhen Chen, Shiao-Li Tsao, "Evaluation and modeling of power consumption of a heterogeneous dual-core processor", IEEE Transactions on Volume 24, Issue 7, Computer-Aided Design of Integrated Circuits and Systems, pp. 1030 - 1041, Hsinchu, Taiwan, July 2005.
6 Yu Hu, Qing Li, C.-C. Jay Kuo, "Run-time Modeling and Estimation of Multimedia System Power Consumption", 11th IEEE International Conference, Embedded and Real-Time Computing Systems and Applications, pp.353-356, 17-19, Hong Kong, China, Aug. 2005.
7 D. Burger, T. Austin, "The simplescalar tool set version 2.0", Technical Report 1342, Computer Sciences Department, University of Wisconsin, Madison, WI, June 1997.
8 Coleman D. Bagwell, Emil Jovanov, Jeffery H. Kulick, "A Dynamic Power Profiling of Embedded Computer Systems" IEEE System Theory, 2002. Proceedings of the Thirty-Fourth Southeastern Symposium, pp. 15-19, Huntsville, Alabama, March 2002.
9 Toshinori SATO, Yukio OOTAGURO, Masato NAGAMATSU, Haruyuki TAGO, "Evaluation of Architecture-level Power Estimation for CMOS RISC Processors", Low Power Electronics, IEEE Symposium, pp. 44 - 45, San Jose, CA, 9-11 Oct. 1995.