Patent ID: 7647487

Claim:
A device comprising: a processor having an associated hardware resource and a present context; and a control unit associated with the processor and operable to fetch an instruction of an instruction group for execution by the processor; receive a first and a second previously selected resource management policy associated in a computer-readable recordable medium with the instruction of the instruction group, the first previously selected resource management policy selected based on at least one of theoretical information or historical information as likely to provide a substantially optimum execution of the instruction group if the processor has a first predefined context, the second previously selected resource management policy selected based on at least one of theoretical information or historical information as likely to provide a substantially sub-optimum execution of the instruction group if the processor has a second predefined context, the first and the second previously selected resource management policy being received when the processor is scheduled to run the associated instruction of the instruction group; determine whether a predetermined correlation exists between the present context of the processor and one of the first and the second predefined context to identify a corresponding previously selected resource management policy; and apply the corresponding previously selected resource management policy.