base.cc (6105:a27c0934de24) | base.cc (6658:f4de76601762) |
---|---|
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; --- 19 unchanged lines hidden (view full) --- 28 * Authors: Ron Dreslinski 29 */ 30 31/** 32 * @file 33 * Hardware Prefetcher Definition. 34 */ 35 | 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; --- 19 unchanged lines hidden (view full) --- 28 * Authors: Ron Dreslinski 29 */ 30 31/** 32 * @file 33 * Hardware Prefetcher Definition. 34 */ 35 |
36#include <list> 37 |
|
36#include "arch/isa_traits.hh" 37#include "base/trace.hh" | 38#include "arch/isa_traits.hh" 39#include "base/trace.hh" |
40#include "config/the_isa.hh" |
|
38#include "mem/cache/base.hh" 39#include "mem/cache/prefetch/base.hh" 40#include "mem/request.hh" | 41#include "mem/cache/base.hh" 42#include "mem/cache/prefetch/base.hh" 43#include "mem/request.hh" |
41#include <list> | |
42 43BasePrefetcher::BasePrefetcher(const BaseCacheParams *p) 44 : size(p->prefetcher_size), pageStop(!p->prefetch_past_page), 45 serialSquash(p->prefetch_serial_squash), 46 cacheCheckPush(p->prefetch_cache_check_push), 47 onlyData(p->prefetch_data_accesses_only) 48{ 49} --- 242 unchanged lines hidden --- | 44 45BasePrefetcher::BasePrefetcher(const BaseCacheParams *p) 46 : size(p->prefetcher_size), pageStop(!p->prefetch_past_page), 47 serialSquash(p->prefetch_serial_squash), 48 cacheCheckPush(p->prefetch_cache_check_push), 49 onlyData(p->prefetch_data_accesses_only) 50{ 51} --- 242 unchanged lines hidden --- |