A memory access detection methodology for accurate workload characterization