stride.hh (13427:72a3afac3e78) | stride.hh (13551:f352df8e2863) |
---|---|
1/* 2 * Copyright (c) 2018 Inria 3 * Copyright (c) 2012-2013, 2015 ARM Limited 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 158 unchanged lines hidden (view full) --- 167 * @param context The context of the new PC table. 168 * @return The new PC table 169 */ 170 PCTable* allocateNewContext(int context); 171 172 public: 173 StridePrefetcher(const StridePrefetcherParams *p); 174 | 1/* 2 * Copyright (c) 2018 Inria 3 * Copyright (c) 2012-2013, 2015 ARM Limited 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 158 unchanged lines hidden (view full) --- 167 * @param context The context of the new PC table. 168 * @return The new PC table 169 */ 170 PCTable* allocateNewContext(int context); 171 172 public: 173 StridePrefetcher(const StridePrefetcherParams *p); 174 |
175 void calculatePrefetch(const PacketPtr &pkt, | 175 void calculatePrefetch(const PrefetchInfo &pfi, |
176 std::vector<AddrPriority> &addresses) override; 177}; 178 179#endif // __MEM_CACHE_PREFETCH_STRIDE_HH__ | 176 std::vector<AddrPriority> &addresses) override; 177}; 178 179#endif // __MEM_CACHE_PREFETCH_STRIDE_HH__ |