|
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.
|
|
By
Andy Gryc and Paul Leroux, QNX Software Systems
|

Page 1 of 3

|
Automotive DesignLine
(05/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:
|
|
 |
Related Companies |
 |
|
|
|
|
|
CAREER CENTER
|
Ready to take that job and shove it?
|
|
SPONSOR
|
|
|
|
RECENT JOB POSTINGS
|
|
|
For more great jobs, career related news, features and services, please visit EETimes' Career Center.
|
|