Dynamic Analyses of Result Quality in Energy-Aware Approximate Programs