Queue-Based Runtime Energy Management for Heterogeneous Embedded Multicore Platforms