×

Providing predictable scheduling of programs using a repeating precomputed schedule

  • US 6,317,774 B1
  • Filed: 01/09/1997
  • Issued: 11/13/2001
  • Est. Priority Date: 01/09/1997
  • Status: Expired due to Term
First Claim
Patent Images

1. A method in a computer system for scheduling the execution of activities at different frequencies, each activity being comprised of one or more threads, the method comprising the steps of:

  • receiving, for each of a plurality of activities, a reservation specifying an amount of execution time and an execution window, the execution window identifying a length of time such that, during every period of time having that length, the threads of the activity are executed for at least the specified amount of execution time; and

    in response to the receiving step, constructing a graph for scheduling the execution of the activities that is comprised of nodes each representing a recurring execution interval, the graph having one root, one or more leaves, and at least one path from the root to each leaf, each node being on at least one path from the root to a leaf, the number of times the execution interval represented by each node occurs during a single complete traversal of the graph being equal to the number of paths from the root to a leaf that the node is on, each node having associated with it an execution interval length, the total execution interval lengths of the nodes on each path from the root to a leaf not exceeding a maximum total interval, and, for each reservation, nodes being dedicated to the execution of the threads of the activity specified by the reservation that have a total execution interval at least as large as the amount specified by the reservation and that are on at least as many of the paths from the root to a leaf as the product of the total number of paths and the quotient of the maximum total interval divided by the execution window specified by the reservation, the constructed graph being usable to schedule the execution of activities in satisfaction of the received reservations by traversing the graph and, for each node visited in the traversal, executing one or more of the threads of the activity to which the node is dedicated for a period of time substantially equal to the execution interval length of the node.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×