Miscellaneous minor fixes.
src/cpu/checker/cpu.cc: Add in comment. src/cpu/cpuevent.hh: Fix up comment. src/cpu/o3/bpred_unit.cc: Comment out Ozone instantiations. src/cpu/o3/dep_graph.hh: Include destructor. --HG-- extra : convert_revision : 549454ed11bc2fa49a0627f7fb8f96d00a9be303
This commit is contained in:
parent
baba18ab92
commit
f4d0f92855
|
@ -829,6 +829,6 @@ Checker<DynInstPtr>::dumpInsts()
|
||||||
|
|
||||||
//template
|
//template
|
||||||
//class Checker<RefCountingPtr<OzoneDynInst<OzoneImpl> > >;
|
//class Checker<RefCountingPtr<OzoneDynInst<OzoneImpl> > >;
|
||||||
|
// Manually instantiate checker
|
||||||
template
|
template
|
||||||
class Checker<RefCountingPtr<AlphaDynInst<AlphaSimpleImpl> > >;
|
class Checker<RefCountingPtr<AlphaDynInst<AlphaSimpleImpl> > >;
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
|
|
||||||
class ThreadContext;
|
class ThreadContext;
|
||||||
|
|
||||||
/** This class creates a global list of events than need a pointer to an
|
/** This class creates a global list of events that need a pointer to a
|
||||||
* thread context. When a switchover takes place the events can be migrated
|
* thread context. When a switchover takes place the events can be migrated
|
||||||
* to the new thread context, otherwise you could have a wake timer interrupt
|
* to the new thread context, otherwise you could have a wake timer interrupt
|
||||||
* go off on a switched out cpu or other unfortunate events. This object MUST be
|
* go off on a switched out cpu or other unfortunate events. This object MUST be
|
||||||
|
|
|
@ -31,9 +31,9 @@
|
||||||
#include "cpu/o3/bpred_unit_impl.hh"
|
#include "cpu/o3/bpred_unit_impl.hh"
|
||||||
#include "cpu/o3/alpha_impl.hh"
|
#include "cpu/o3/alpha_impl.hh"
|
||||||
#include "cpu/o3/alpha_dyn_inst.hh"
|
#include "cpu/o3/alpha_dyn_inst.hh"
|
||||||
#include "cpu/ozone/ozone_impl.hh"
|
//#include "cpu/ozone/ozone_impl.hh"
|
||||||
//#include "cpu/ozone/simple_impl.hh"
|
//#include "cpu/ozone/simple_impl.hh"
|
||||||
|
|
||||||
template class BPredUnit<AlphaSimpleImpl>;
|
template class BPredUnit<AlphaSimpleImpl>;
|
||||||
template class BPredUnit<OzoneImpl>;
|
//template class BPredUnit<OzoneImpl>;
|
||||||
//template class BPredUnit<SimpleImpl>;
|
//template class BPredUnit<SimpleImpl>;
|
||||||
|
|
|
@ -68,6 +68,8 @@ class DependencyGraph
|
||||||
: numEntries(0), memAllocCounter(0), nodesTraversed(0), nodesRemoved(0)
|
: numEntries(0), memAllocCounter(0), nodesTraversed(0), nodesRemoved(0)
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
|
~DependencyGraph();
|
||||||
|
|
||||||
/** Resize the dependency graph to have num_entries registers. */
|
/** Resize the dependency graph to have num_entries registers. */
|
||||||
void resize(int num_entries);
|
void resize(int num_entries);
|
||||||
|
|
||||||
|
@ -120,6 +122,12 @@ class DependencyGraph
|
||||||
uint64_t nodesRemoved;
|
uint64_t nodesRemoved;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
template <class DynInstPtr>
|
||||||
|
DependencyGraph<DynInstPtr>::~DependencyGraph()
|
||||||
|
{
|
||||||
|
delete [] dependGraph;
|
||||||
|
}
|
||||||
|
|
||||||
template <class DynInstPtr>
|
template <class DynInstPtr>
|
||||||
void
|
void
|
||||||
DependencyGraph<DynInstPtr>::resize(int num_entries)
|
DependencyGraph<DynInstPtr>::resize(int num_entries)
|
||||||
|
|
Loading…
Reference in a new issue