Power and Performance Optimizations in Embedded Systems