BEHAVIOR INVARIANT OPTIMIZATION OF MAXIMUM EXECUTION TIMES FOR MODEL SIMULATION
First Claim
1. A method, comprising:
- receiving, a model, the model including model elements scheduled to execute in time slots on a hardware device, the receiving 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 unoccupied 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; and
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.
1 Assignment
0 Petitions
Accused Products
Abstract
A device receives a model that includes model elements scheduled to execute in time slots on a hardware device. The device identifies time slots, of the time slots, that are unoccupied or underutilized by the model elements, and identifies a set of model elements that can be moved to the unoccupied time slots without affecting a behavior of the model. The device calculates a combined execution time of the model elements, determines 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, and schedules 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.
-
Citations
25 Claims
-
1. A method, comprising:
-
receiving, a model, the model including model elements scheduled to execute in time slots on a hardware device, the receiving 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 unoccupied 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; and 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. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A device, comprising:
a processor to; receive, a model, the model including model elements scheduled to execute in time slots on a hardware device, the model being received via a technical computing environment (TCE), identify one or more time slots, of the time slots, that are unoccupied or underutilized by the model elements, identify a set of one or more model elements that can be moved to the one or more unoccupied time slots without affecting a behavior of the model, calculate a combined execution time of the model elements, determine 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, schedule 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, identify a portion of the model elements, from the set of 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, where a remaining portion of the model elements fits in the first time slot, schedule the remaining portion of the model elements for execution in the first time slot, and schedule the portion of the model elements for execution in the second time slot. - View Dependent Claims (14, 15, 16, 17, 18, 19)
-
20. One or more computer-readable media, comprising:
one or more instructions that, when executed by a processor of a device, cause the processor to; receive, a model, the model including model elements scheduled to execute in time slots on a hardware device, the model being received via a technical computing environment (TCE), identify one or more time slots, of the time slots, that are unoccupied or underutilized by the model elements, identify a set of one or more model elements that can be moved to the one or more unoccupied time slots without affecting a behavior of the model, identify a portion of the model elements from the set of model elements, calculate a combined execution time of the portion of the model elements, schedule the portion of the model elements for execution in a first time slot, of the time slots, when the combined execution time of the portion of the model elements is less than or equal to a duration of the first time slot, calculate a combined execution time of a remaining portion of the model elements, and schedule the remaining portion of the model elements for execution in a second time slot, of the time slots, when the combined execution time of the portion of the model elements is less than or equal to a duration of the second time slot. - View Dependent Claims (21, 22, 23, 24, 25)
Specification