Systems and methods for assigning tasks to derived timers of various resolutions in real-time systems to maximize timer usage
First Claim
1. A method of providing timers for a plurality of periodic tasks, comprising:
- providing a source timer having a source timer interval;
determining a first number of the plurality of periodic tasks that can be completed during said source timer interval;
classifying a second number of the plurality of periodic tasks as most time-critical;
classifying a third number of the plurality of periodic tasks as less time-critical; and
providing a number of derived timers to be used for said plurality of tasks, wherein providing said number of derived timers includes determining said number to provide as greater than or equal to one less than a first result determined by dividing said third number of less time-critical tasks by a difference between said first number of the plurality of the periodic tasks that can be completed during said source timer interval and said second number of most time-critical tasks.
10 Assignments
0 Petitions
Accused Products
Abstract
One or more derived timers based on a source timer are provided to accommodate a plurality of periodic tasks while maintaining the high resolution of the source timer. To accommodate a number of periodic tasks, a number of derived timers can be selected utilizing a novel method based on the number of periodic tasks that are most time-critical, the number of tasks that are less time-critical, and the number of tasks that can be performed during the source timer interval. The interval and start time for each derived timer is selected based the source timer and number of the derived timer. After establishing the derived timers, the most time-critical tasks can be assigned to the source timer and the less time-critical tasks arranged amongst the derived timers.
14 Citations
37 Claims
-
1. A method of providing timers for a plurality of periodic tasks, comprising:
-
providing a source timer having a source timer interval;
determining a first number of the plurality of periodic tasks that can be completed during said source timer interval;
classifying a second number of the plurality of periodic tasks as most time-critical;
classifying a third number of the plurality of periodic tasks as less time-critical; and
providing a number of derived timers to be used for said plurality of tasks, wherein providing said number of derived timers includes determining said number to provide as greater than or equal to one less than a first result determined by dividing said third number of less time-critical tasks by a difference between said first number of the plurality of the periodic tasks that can be completed during said source timer interval and said second number of most time-critical tasks. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 25, 26)
-
-
15. A system for time-based task processing, comprising;
-
a plurality of periodic tasks including a first number of tasks that are most time-critical and a second number of tasks that are less time-critical;
a source timer having a source timer interval, wherein a third number of said plurality of periodic tasks are capable of being completed during said source timer interval; and
a number of derived timers based on said source timer, said number of derived timers is greater than or equal to one less than a first result obtained by dividing said second number of less time-critical tasks by a difference between said third number of said plurality of periodic tasks capable of being completed during said source timer interval and said first number of most time-critical tasks. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22, 23, 24)
-
-
27. One or more processor readable storage devices having processor readable code embodied on said one or more processor readable storage devices, said processor readable code for programming one or more processors to perform a method comprising:
-
providing a source timer having a source timer interval;
determining a first number of the plurality of periodic tasks that can be completed during said source timer interval;
classifying a second number of the plurality of periodic tasks as most time-critical;
classifying a third number of the plurality of periodic tasks as less time-critical; and
providing a number of derived timers to be used for said plurality of tasks, wherein providing said number of derived timers includes determining said number to provide as greater than or equal to one less than a first result determined by dividing said third number of less time-critical tasks by a difference between said first number of the plurality of the periodic tasks that can be completed during said source timer interval and said second number of most time-critical tasks. - View Dependent Claims (28, 29, 30, 31, 32, 33, 34, 35, 36, 37)
-
Specification