Power Analysis And Prediction For Heterogeneous Computation