Patent ID: 8522245

Claim:
A method, comprising: determining a weighted sum of a first set of performance characteristics associated with execution of a first thread at a data processing device based on a first set of adjustable weights, the weighted sum of the first set of performance characteristics indicating a first thread criticality; modifying resources of the data processing device assigned for execution of the first thread based on the first thread criticality; determining a measured criticality based on execution of the first thread; adjusting the first set of adjustable weights based on the measured criticality to determine a second set of weights by adjusting a first weight of the first set of adjustable weights based on a difference between the first thread criticality and the measured criticality; determining a second set of performance characteristics associated with execution of the first thread at the data processing device; determining a weighted sum of the second set of performance characteristics based on the second set of weights, the weighted sum of the second set of performance characterisitics indicating a second thread criticality; and modifying resources of the data processing device assigned for execution of the first thread based on the second thread criticality.