Dynamically Managing Processor Temperature and Power