stride.hh (11439:d0368996f1e0) stride.hh (12727:56c23b54bcb1)
1/*
2 * Copyright (c) 2012-2013, 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

--- 34 unchanged lines hidden (view full) ---

43/**
44 * @file
45 * Describes a strided prefetcher.
46 */
47
48#ifndef __MEM_CACHE_PREFETCH_STRIDE_HH__
49#define __MEM_CACHE_PREFETCH_STRIDE_HH__
50
1/*
2 * Copyright (c) 2012-2013, 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

--- 34 unchanged lines hidden (view full) ---

43/**
44 * @file
45 * Describes a strided prefetcher.
46 */
47
48#ifndef __MEM_CACHE_PREFETCH_STRIDE_HH__
49#define __MEM_CACHE_PREFETCH_STRIDE_HH__
50
51#include <string>
51#include <unordered_map>
52
52#include <unordered_map>
53
54#include "base/types.hh"
53#include "mem/cache/prefetch/queued.hh"
55#include "mem/cache/prefetch/queued.hh"
54#include "params/StridePrefetcher.hh"
56#include "mem/packet.hh"
55
57
58struct StridePrefetcherParams;
59
56class StridePrefetcher : public QueuedPrefetcher
57{
58 protected:
59 const int maxConf;
60 const int threshConf;
61 const int minConf;
62 const int startConf;
63

--- 58 unchanged lines hidden ---
60class StridePrefetcher : public QueuedPrefetcher
61{
62 protected:
63 const int maxConf;
64 const int threshConf;
65 const int minConf;
66 const int startConf;
67

--- 58 unchanged lines hidden ---