Performance and power evaluation of C++ object-oriented programming in embedded processors

被引:6
|
作者
Chatzigeorgiou, A [1 ]
机构
[1] Univ Macedonia, Dept Appl Informat, Thessaloniki 54006, Greece
关键词
embedded systems; object-oriented programming; low power design;
D O I
10.1016/S0950-5849(02)00205-7
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The development of high-performance and lower power portable devices relies on both the underlying hardware architecture and technology as well as on the application software that executes on embedded processor cores. One way to confront the increasing complexity and decreasing time-to-market of embedded software is by means of modular and reusable code, forcing software designers to use objected oriented programming languages such as C+ + [6]. However, the object-oriented approach is known to introduce a significant performance penalty compared to classical procedural programming. In this paper, the object oriented programming style is evaluated in terms of both performance and power for embedded applications. Profiling results indicate that C++ programs apart from being slower than their corresponding C versions, consume significantly more energy. Further analysis shows that this is mainly due to the increased instruction count, larger code size and increased number of accesses to the data memory for the object-oriented versions. (C) 2003 Elsevier Science B.V. All rights reserved.
引用
收藏
页码:195 / 201
页数:7
相关论文
共 50 条
  • [21] An assessment of object-oriented methods and C++
    Blake, BA
    Jalics, P
    JOURNAL OF OBJECT-ORIENTED PROGRAMMING, 1996, 9 (01): : 42 - 48
  • [22] Design of object-oriented simulations in C++
    Joines, JA
    Roberts, SD
    1996 WINTER SIMULATION CONFERENCE PROCEEDINGS, 1996, : 65 - 72
  • [23] A MINIMAL OBJECT-ORIENTED DEBUGGER FOR C++
    MILLER, WM
    DR DOBBS JOURNAL, 1991, 16 (10): : 16 - &
  • [24] Advanced object-oriented features for C/C++
    McBride, Blake
    Dr. Dobb's Journal, 1997, 22 (08):
  • [25] Experiences with teaching object-oriented concepts to introductory programming students using C++
    Sheard, J
    Hagan, D
    TOOLS 24: TECHNOLOGY OF OBJECT-ORIENTED LANGUAGES, PROCEEDINGS, 1998, 24 : 310 - 319
  • [26] A Rice Growth Models (RGM) System by Object-Oriented Programming with Visual C++
    MI Xiang-cheng
    Ningxiang Agricultural Bureau of Hunan Province
    Agricultural Sciences in China, 2002, (10) : 70 - 77
  • [27] A TOOLSET FOR OBJECT-ORIENTED PROGRAMMING IN C
    BURROUGHS, GD
    HEWLETT-PACKARD JOURNAL, 1986, 37 (03): : 19 - 23
  • [28] AN OBJECT-ORIENTED CLASS LIBRARY FOR C++ PROGRAMS
    GORLEN, KE
    SOFTWARE-PRACTICE & EXPERIENCE, 1987, 17 (12): : 899 - 922
  • [29] μC++. Concurrency in the object-oriented language C++
    Buhr, P.A.
    Ditchfield, Glen
    Stroobosscher, R.A.
    Younger, B.M.
    Zarnke, C.R.
    Software - Practice and Experience, 1992, 22 (02) : 137 - 172
  • [30] TOWARD A LESS OBJECT-ORIENTED VIEW OF C++
    SHIFFMAN, H
    DR DOBBS JOURNAL, 1992, 17 (12): : S35 - S38