• DocumentCode
    3496157
  • Title

    Optimization of C code in a real-time environment

  • Author

    Kraeling, Mark B.

  • Author_Institution
    Cummins Engine Co., Columbus, IN, USA
  • fYear
    1996
  • fDate
    22-24 Oct 1996
  • Firstpage
    574
  • Lastpage
    580
  • Abstract
    The process of developing software varies from company to company, and often project to project. Often lost in the argument of which process to use is coding for optimization of throughput and resources. This paper explores different ways of optimizing C source code. Topics presented include, but are not limited to, the importance of selecting a compiler and understanding its options at the beginning of a project, analysis of fixed-point versus floating point operations, and ways to conserve stack and memory resources. Comparisons between compilers and processors are not addressed, but data and examples are given to show improvements on multiple platforms
  • Keywords
    C language; floating point arithmetic; optimising compilers; programming; real-time systems; software selection; C code optimization; fixed-point operations; floating point operations; memory resources; optimising compiler; programming; real-time environment; software development; software project; stack resources; Assembly; Computer languages; Creep; Object oriented programming; Optimizing compilers; Programming profession; Random access memory; Registers; Switches; Throughput;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    WESCON/96
  • Conference_Location
    Anaheim, CA
  • ISSN
    1095-791X
  • Print_ISBN
    0-7803-3274-1
  • Type

    conf

  • DOI
    10.1109/WESCON.1996.554585
  • Filename
    554585