×

Method and apparatus to control priority preemption of tasks

  • US 7,844,970 B2
  • Filed: 08/22/2006
  • Issued: 11/30/2010
  • Est. Priority Date: 08/22/2006
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer implemented method for controlling preemption rates, the computer implemented method comprising:

  • responsive to a plurality of processes being executed by a processor, determining a preemption interval, wherein the preemption interval is a minimum time interval before a priority preemption of a currently running process by a higher priority process occurs;

    subtracting a last preemption time from a current time to determine a current time interval, wherein the current time interval is an interval of time since a most recently performed priority preemption of a process took place;

    determining whether the preemption interval has expired, wherein the preemption interval has expired if the current time interval is greater than or equal to the preemption interval;

    preempting the currently running process in response to a determination that the preemption interval has expired, wherein the preemption interval is adjusted upon determining that adjusting the preemption interval will reduce time in executing processes; and

    responsive to performing the priority preemption, setting the last preemption time as the current time, wherein the last preemption time is a time at which the most recently performed priority preemption of a process took place.

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