1/* 2 * Copyright (c) 2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 22 unchanged lines hidden (view full) --- 31/** 32 * @file 33 * Describes a tagged prefetcher. 34 */ 35 36#ifndef __MEM_CACHE_PREFETCH_TAGGED_PREFETCHER_HH__ 37#define __MEM_CACHE_PREFETCH_TAGGED_PREFETCHER_HH__ 38 |
39#include "mem/cache/prefetch/base.hh" |
40 41class TaggedPrefetcher : public BasePrefetcher 42{ 43 protected: 44 45 Tick latency; 46 int degree; 47 48 public: 49 50 TaggedPrefetcher(const BaseCacheParams *p); 51 52 ~TaggedPrefetcher() {} 53 54 void calculatePrefetch(PacketPtr &pkt, std::list<Addr> &addresses, 55 std::list<Tick> &delays); 56}; 57 58#endif // __MEM_CACHE_PREFETCH_TAGGED_PREFETCHER_HH__ |