base.hh (13755:a1d7b56e3a64) | base.hh (13991:102d94094d6b) |
---|---|
1/* 2 * Copyright (c) 2013-2014 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 --- 318 unchanged lines hidden (view full) --- 327 uint64_t usefulPrefetches; 328 329 public: 330 331 BasePrefetcher(const BasePrefetcherParams *p); 332 333 virtual ~BasePrefetcher() {} 334 | 1/* 2 * Copyright (c) 2013-2014 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 --- 318 unchanged lines hidden (view full) --- 327 uint64_t usefulPrefetches; 328 329 public: 330 331 BasePrefetcher(const BasePrefetcherParams *p); 332 333 virtual ~BasePrefetcher() {} 334 |
335 void setCache(BaseCache *_cache); | 335 virtual void setCache(BaseCache *_cache); |
336 337 /** 338 * Notify prefetcher of cache access (may be any access or just 339 * misses, depending on cache parameters.) 340 */ 341 virtual void notify(const PacketPtr &pkt, const PrefetchInfo &pfi) = 0; 342 343 /** Notify prefetcher of cache fill */ --- 32 unchanged lines hidden --- | 336 337 /** 338 * Notify prefetcher of cache access (may be any access or just 339 * misses, depending on cache parameters.) 340 */ 341 virtual void notify(const PacketPtr &pkt, const PrefetchInfo &pfi) = 0; 342 343 /** Notify prefetcher of cache fill */ --- 32 unchanged lines hidden --- |