Adaptive Techniques for Dynamic Processor Optimization