Efficient trace-driven simulation methods for cache performance analysis