Event-Based Power/Performance-Aware Thermal Management for High-Density Microprocessors