×

Behavior invariant optimization of maximum execution times for model simulation

  • US 8,819,618 B2
  • Filed: 09/26/2012
  • Issued: 08/26/2014
  • Est. Priority Date: 09/26/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method, comprising:

  • receiving a model,the model including model elements scheduled to execute in time slots on a hardware device,the receiving the model being performed by a device via a technical computing environment (TCE);

    identifying one or more time slots, of the time slots, that are unoccupied or underutilized by the model elements,the identifying the one or more time slots being performed by the device;

    identifying a set of one or more model elements that, when moved to the one or more time slots, preserve a behavior of the model,the identifying the set of one or more model elements being performed by the device;

    calculating a combined execution time of the model elements,the calculating the combined execution time being performed by the device;

    determining whether the combined execution time of the model elements is less than or equal to a duration of a first time slot of the time slots,the determining whether the combined execution time of the model elements is less than or equal to the duration of the first time slot being performed by the device;

    scheduling the model elements for execution in the first time slot when the combined execution time of the model elements is less than or equal to the duration of the first time slot,the scheduling the model elements being performed by the device;

    identifying a portion of model elements, from the set of one or more model elements, that fit into a second time slot, of the time slots, when the combined execution time of the model elements is greater than the duration of the first time slot,a remaining portion of model elements, from the set of one or more model elements, fitting in the first time slot,the identifying the portion of model elements being performed by the device;

    scheduling the remaining portion of model elements for execution in the first time slot,the scheduling the remaining portion of model elements being performed by the device; and

    scheduling the portion of model elements for execution in the second time slot,the scheduling the portion of model elements being performed by the device.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×