Patent ID: 8181004

Claim:
A device comprising: a processor having a hardware resource associated with the processor; and a resource manager operable to compare an execution of an instruction group pursuant to an optimistic resource management policy applied to the hardware resource and an execution of the instruction group pursuant to a pessimistic resource management policy applied to the hardware resource, wherein the optimistic resource management policy includes an optimistic policy that assumes based on at least one of theoretical information or historical information that the instruction group will execute in a substantially optimal manner, and wherein the pessimistic resource management policy includes a pessimistic policy that assumes based on at least one of theoretical information or historical information that the instruction group will execute in a substantially sub-optimal manner such that greater than a preselected level of at least one error will occur during execution of the instruction group; select from the optimistic resource management policy and the pessimistic resource management policy a resource management policy likely to provide a substantially optimum execution of the instruction group; and associate the selected resource management policy with the instruction group.