1/* 2 * Copyright (c) 2014-2015 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 26 unchanged lines hidden (view full) --- 35 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36 * 37 * Authors: Mitch Hayenga 38 */ 39 40#ifndef __MEM_CACHE_PREFETCH_QUEUED_HH__ 41#define __MEM_CACHE_PREFETCH_QUEUED_HH__ 42 |
43#include <cstdint> |
44#include <list> |
45#include <utility> |
46 |
47#include "base/statistics.hh" 48#include "base/types.hh" |
49#include "mem/cache/prefetch/base.hh" |
50#include "mem/packet.hh" |
51 |
52struct QueuedPrefetcherParams; 53 |
54class QueuedPrefetcher : public BasePrefetcher 55{ 56 protected: 57 struct DeferredPacket { 58 Tick tick; 59 PacketPtr pkt; 60 int32_t priority; 61 DeferredPacket(Tick t, PacketPtr p, int32_t pr) : tick(t), pkt(p), --- 74 unchanged lines hidden --- |