A framework for region-based instrumentation of energy consumption of program executions | IEEE Conference Publication | IEEE Xplore