SimFlex: Fast, Accurate, and Flexible Simulation of Computer Systems