stride.cc (8509:afb40c3d4ba6) stride.cc (8831:6c08a877af8f)
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;

--- 118 unchanged lines hidden (view full) ---

127 StrideEntry *new_entry = new StrideEntry;
128 new_entry->instAddr = pc;
129 new_entry->missAddr = blk_addr;
130 new_entry->stride = 0;
131 new_entry->confidence = 0;
132 tab.push_back(new_entry);
133 }
134}
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;

--- 118 unchanged lines hidden (view full) ---

127 StrideEntry *new_entry = new StrideEntry;
128 new_entry->instAddr = pc;
129 new_entry->missAddr = blk_addr;
130 new_entry->stride = 0;
131 new_entry->confidence = 0;
132 tab.push_back(new_entry);
133 }
134}
135
136
137StridePrefetcher*
138StridePrefetcherParams::create()
139{
140 return new StridePrefetcher(this);
141}