System and method for robust time partitioning of tasks in a real-time computing environment
First Claim
1. A method of apportioning access to a computer resource for a computer application, the method comprising the steps of:
- providing the application with a process time budget to use the computer resource;
assigning a portion of the process time budget to each of a plurality of threads according to a thread time budget for each of the threads, wherein each of the threads is associated with the application; and
enforcing the assigned thread time budget for each of the plurality of threads in real time.
1 Assignment
0 Petitions
Accused Products
Abstract
A time-partitioned system for accounting for processor time consumed by operating system services provided on behalf of an application runs in a real-time environment. The time utilized by the operating system is treated as application processing time, rather than viewing the resultant processor time consumed as an operating system overhead. Each application consists of one or more threads. A time budget is assigned to each thread and to each interrupt. The processor time consumed by the operating system when executing on behalf of a thread or interrupt is charged back to the application or interrupt as part of the application'"'"'s time budget. Operating system overheads and processor interrupts are thus accounted for accurately enough to determine a schedule for the applications that is enforceable by the operating system at run time.
-
Citations
38 Claims
-
1. A method of apportioning access to a computer resource for a computer application, the method comprising the steps of:
-
providing the application with a process time budget to use the computer resource;
assigning a portion of the process time budget to each of a plurality of threads according to a thread time budget for each of the threads, wherein each of the threads is associated with the application; and
enforcing the assigned thread time budget for each of the plurality of threads in real time. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 36, 38)
-
-
16. A method for accounting for processor time consumed by operating system services provided on behalf of an application running in a real-time environment, the method comprising the steps of:
-
allocating a portion of the processor time to each of a plurality of threads associated with the application to create a time budget for each of the plurality of threads;
scheduling the execution of each of the plurality of threads according to a period of time associated with the thread to create a schedule; and
enforcing the schedule to execute each of the plurality of threads in the real-time environment such that each threads usage of processor time does not exceed the thread'"'"'s time budget.
-
-
19. A method of providing access to a computer resource for a plurality of computer applications, the method comprising the steps of:
-
providing each of the applications with an application time budget to use the computer resource;
assigning a portion of each application time budget to each of a plurality of threads, wherein each of the threads is associated with the application, to create a thread time budget for each of the threads;
scheduling each of the plurality of threads according to a period of time associated with the thread to create a schedule for the computing resource; and
enforcing the schedule for the computing resource.
-
-
35. A system apportioning access to a computer resource for a computer application, the system comprising:
-
means for providing the application with a process time budget to use the computer resource;
means for assigning a portion of the process time budget to each of a plurality of threads according to a thread time budget for each of the threads, wherein each of the threads is associated with the application; and
means for enforcing the assigned thread time budget for each of the plurality of threads for the computing resource in real time.
-
-
37. A system apportioning access to a computer resource for a computer application, the system comprising:
-
a first software module configured to provide the application with a process time budget to use the computer resource;
a second software module configured to assign a portion of the process time budget to each of a plurality of threads according to a thread time budget for each of the threads, wherein each of the threads is associated with the application; and
a third software module configured to enforce the assigned thread time budget for each of the plurality of threads for the computing resource in real time.
-
Specification