Text this: Dynamic speed scaling minimizing expected energy consumption for real-time tasks.