Newsletter

Automotive DesignLine  >  Design Center

Time partitioning drives faster software integration for telematics and infotainment: Part 2 - Simulation code development

Allocating a set portion of CPU time to each software subsystem prevents any one monopolizing CPU cycles needed by the others, for a stable runtime environment that development teams can build and verify individually.

Page 1 of 3

Automotive DesignLine

Part 1 of this series outlines the CPU time-allocation problem, some constraints, and a hands-free phone simulation model, for which the code is developed in this installment.

The listing below contains the source code for the simmod hands-free phone software simulation created in Part 1. In the interest of clarity and brevity, error checking has been removed. To obtain the full version, please contact one of the authors.

View a full-size image of the code listing given below (please wait for the expand button)

View a full-size image of the code listing given above (please wait for the expand button)

The simmod process can be spawned with several command-line options that let us emulate the task loads in the simulation:



Page 2: Starting the simulation without partitioning  

Page 1 | 2 | 3

Related Links:
  • Time partitioning drives faster software integration for telematics and infotainment: Part 1 - Time problem, constraints, and a simulation model
  • Time partitioning drives faster software integration for telematics and infotainment: Part 3 - Redistributing the processor load


  • Rate this article
    WORSE | BETTER
    1 2 3 4 5




    QNX Software Systems
    Related Content

    WEBINAR
    1. Detecting Five Distinct Motions with MEMS Inertial Sensors

    TECH PAPER
    2. Creating Reliable and Responsive Embedded User Interfaces with Adobe Flash and OpenGL ES

    WEBINAR
    3. Optimizing Noise in the Sensor Signal Path (Part III)

    TECH PAPER
    4. IBM Rational Dashboard Drive Improved Decision Making

     


     Featured Jobs
    Accenture seeking Project Management Team Lead in Charlotte, NC

    Accenture seeking Software Engineer in Salt Lake City, UT

    Boeing Company seeking Software Engineer in Herndon, VA

    Switch and Data seeking Customer Solutions Engineer in Dallas, TX

    Chart Industries seeking Sr. Developer in Cleveland, OH

    More jobs on EETimesCareers
     Sponsor
     CAREER CENTER
    Ready to take that job and shove it?
    SEARCH JOBS:

     SPONSOR

     RECENT JOB POSTINGS
    For more great jobs, career related news, features and services, please visit EETimes' Career Center.