Prefetcher.cc (11422:4f749e00b667) Prefetcher.cc (11430:bd1c6789c33f)
1/*
2 * Copyright (c) 1999-2012 Mark D. Hill and David A. Wood
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;

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

81 delete m_negative_filter_hit;
82 delete m_nonunit_stride;
83 delete m_nonunit_hit;
84}
85
86void
87Prefetcher::regStats()
88{
1/*
2 * Copyright (c) 1999-2012 Mark D. Hill and David A. Wood
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;

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

81 delete m_negative_filter_hit;
82 delete m_nonunit_stride;
83 delete m_nonunit_hit;
84}
85
86void
87Prefetcher::regStats()
88{
89 SimObject::regStats();
90
91 numMissObserved
92 .name(name() + ".miss_observed")
93 .desc("number of misses observed")
94 ;
95
96 numAllocatedStreams
97 .name(name() + ".allocated_streams")
98 .desc("number of streams allocated for prefetching")

--- 380 unchanged lines hidden ---
89 numMissObserved
90 .name(name() + ".miss_observed")
91 .desc("number of misses observed")
92 ;
93
94 numAllocatedStreams
95 .name(name() + ".allocated_streams")
96 .desc("number of streams allocated for prefetching")

--- 380 unchanged lines hidden ---