Patent ID: 7885802
Filing Date: 2011-02-08
Classification: G06F

Abstract:
1. Method for simulating a complex system including at least one processor executing a set of functions under the control of a hierarchized set of schedulers, wherein said method includes a step of constructing an architectural model of the complex system including a hierarchized set of components, each of the components being an instance of an object class belonging to the group including: a first class, called “Processor” class, representing an abstract model of any processor included in the complex system, each instance of the “Processor” class being called modelled processor; a second class, called “Function” class, representing an abstract model of any function executed by the complex system, each instance of the “Function” class being called modelled function; a third class, called “Scheduler” class, representing an abstract model of any scheduler included in the complex system, each instance of the “Scheduler” class being called modelled scheduler and being responsible for managing components, modelled function(s) and/or other modelled scheduler(s), which are internal thereto; each instance being initialized with at least one attribute characterizing its required behavior; and wherein the method additionally includes a native simulation step including the following steps: obtaining a binary code of the architectural model, by compiling a source code of said architectural model, and direct execution of the binary code of the architectural model by a simulation engine; and wherein the step of direct execution of the binary code of the architectural model includes the following steps: the simulation engine starts with the most containing component of said hierarchized set of components and goes down into the modelled processors as far as the elementary modelled processor (s) not including a modelled processor; for each elementary modelled processor: the simulation engine analyses the status of the modelled functions and modeled schedulers located at the highest hierarchical level within said modelled processor; as a function of a first scheduling policy with which a modelled scheduler associated with said elementary modelled processor has been initialized, the simulation engine selects the modelled function or the modelled scheduler with the highest priority within said modelled processor; the simulation engine activates the component selected, by applying at least one time parameter associated with said first scheduling policy.