Design Article

IMG1

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

Andy Gryc and Paul Leroux, QNX Software Systems

5/19/2008 9:06 AM EDT

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:

1  2  3 

print

email

rss

Bookmark and Share

Joinpost comment




Please sign in to post comment

Navigate to related information

Product Parts Search

Enter part number or keyword
PartsSearch

FeedbackForm