tagged.hh revision 8831
12817Sksewell@umich.edu/* 22817Sksewell@umich.edu * Copyright (c) 2005 The Regents of The University of Michigan 32817Sksewell@umich.edu * All rights reserved. 42817Sksewell@umich.edu * 52817Sksewell@umich.edu * Redistribution and use in source and binary forms, with or without 62817Sksewell@umich.edu * modification, are permitted provided that the following conditions are 72817Sksewell@umich.edu * met: redistributions of source code must retain the above copyright 82817Sksewell@umich.edu * notice, this list of conditions and the following disclaimer; 92817Sksewell@umich.edu * redistributions in binary form must reproduce the above copyright 102817Sksewell@umich.edu * notice, this list of conditions and the following disclaimer in the 112817Sksewell@umich.edu * documentation and/or other materials provided with the distribution; 122817Sksewell@umich.edu * neither the name of the copyright holders nor the names of its 132817Sksewell@umich.edu * contributors may be used to endorse or promote products derived from 142817Sksewell@umich.edu * this software without specific prior written permission. 152817Sksewell@umich.edu * 162817Sksewell@umich.edu * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 172817Sksewell@umich.edu * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 182817Sksewell@umich.edu * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 192817Sksewell@umich.edu * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 202817Sksewell@umich.edu * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 212817Sksewell@umich.edu * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 222817Sksewell@umich.edu * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 232817Sksewell@umich.edu * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 242817Sksewell@umich.edu * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 252817Sksewell@umich.edu * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 262817Sksewell@umich.edu * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 272817Sksewell@umich.edu * 282817Sksewell@umich.edu * Authors: Ron Dreslinski 294202Sbinkertn@umich.edu */ 302817Sksewell@umich.edu 312817Sksewell@umich.edu/** 322817Sksewell@umich.edu * @file 334202Sbinkertn@umich.edu * Describes a tagged prefetcher. 342817Sksewell@umich.edu */ 355192Ssaidi@eecs.umich.edu 365192Ssaidi@eecs.umich.edu#ifndef __MEM_CACHE_PREFETCH_TAGGED_PREFETCHER_HH__ 375192Ssaidi@eecs.umich.edu#define __MEM_CACHE_PREFETCH_TAGGED_PREFETCHER_HH__ 385192Ssaidi@eecs.umich.edu 395192Ssaidi@eecs.umich.edu#include "mem/cache/prefetch/base.hh" 405192Ssaidi@eecs.umich.edu#include "params/TaggedPrefetcher.hh" 415192Ssaidi@eecs.umich.edu 425192Ssaidi@eecs.umich.edu 435192Ssaidi@eecs.umich.educlass TaggedPrefetcher : public BasePrefetcher 445192Ssaidi@eecs.umich.edu{ 454202Sbinkertn@umich.edu public: 464486Sbinkertn@umich.edu 474486Sbinkertn@umich.edu TaggedPrefetcher(const Params *p); 484486Sbinkertn@umich.edu 494486Sbinkertn@umich.edu ~TaggedPrefetcher() {} 504202Sbinkertn@umich.edu 514202Sbinkertn@umich.edu void calculatePrefetch(PacketPtr &pkt, std::list<Addr> &addresses, 524202Sbinkertn@umich.edu std::list<Tick> &delays); 534202Sbinkertn@umich.edu}; 545597Sgblack@eecs.umich.edu 554202Sbinkertn@umich.edu#endif // __MEM_CACHE_PREFETCH_TAGGED_PREFETCHER_HH__ 565597Sgblack@eecs.umich.edu