queued.hh (11439:d0368996f1e0) | queued.hh (12727:56c23b54bcb1) |
---|---|
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 | 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> |
|
43#include <list> | 44#include <list> |
45#include <utility> |
|
44 | 46 |
47#include "base/statistics.hh" 48#include "base/types.hh" |
|
45#include "mem/cache/prefetch/base.hh" | 49#include "mem/cache/prefetch/base.hh" |
46#include "params/QueuedPrefetcher.hh" | 50#include "mem/packet.hh" |
47 | 51 |
52struct QueuedPrefetcherParams; 53 |
|
48class QueuedPrefetcher : public BasePrefetcher 49{ 50 protected: 51 struct DeferredPacket { 52 Tick tick; 53 PacketPtr pkt; 54 int32_t priority; 55 DeferredPacket(Tick t, PacketPtr p, int32_t pr) : tick(t), pkt(p), --- 74 unchanged lines hidden --- | 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 --- |