1/* 2 * Copyright (c) 2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 20 unchanged lines hidden (view full) --- 29 * Steve Reinhardt 30 */ 31 32/** 33 * @file 34 * Stride Prefetcher template instantiations. 35 */ 36 |
37#include "mem/cache/prefetch/stride.hh" |
38 39void 40StridePrefetcher::calculatePrefetch(PacketPtr &pkt, std::list<Addr> &addresses, 41 std::list<Tick> &delays) 42{ 43// Addr blkAddr = pkt->paddr & ~(Addr)(this->blkSize-1); 44 int cpuID = pkt->req->getCpuNum(); 45 if (!useCPUId) cpuID = 0; --- 47 unchanged lines hidden --- |