| Algorithm 1 Interactive governor algorithm |
| 1: Set core working frequency (fw) between Fmin and Fmax |
| 2: for every TR do |
| 3: U ← current_CPU_Utilization |
| 4: if (U > GHL) then |
| 5: fw = Fhs |
| 6: wait AHD |
| 7: U ← current_CPU_Utilization |
| 8: if (U > GHL) then |
| increase fw |
| 9: end if |
| 10: else |
| 11: wait (MST) |
| 12: if (U < GHL) then |
| decrease fw |
| 13: end if |
| 14: end if |
| 15: end for |