Two-phase trace-driven simulation (TPTS): a fast multicore processor architecture simulation approach