Energy Efficient Computing Using Static-Dynamic Co-Optimizations