Towards Energy-Effcient Real-Time Computing In Embedded Systems