Adding counters to the MCPAT simulator for processor power and energy estimations