[gem5] AbstractMemory calculates page number for each epoch.