Text this: Scheduling hard real-time tasks in heterogeneous multiprocessor platforms subject to energy and temperature constraints