summaryrefslogtreecommitdiff
path: root/src/cpu/o3/lsq_impl.hh
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2006-06-13 22:40:02 -0400
committerKevin Lim <ktlim@umich.edu>2006-06-13 22:40:02 -0400
commit7709e6ba93be4b67b22e2f3f9c853a3e1ab4458b (patch)
tree582d35cd1edd6a12e6c45929f84f9a8fe18f6c8e /src/cpu/o3/lsq_impl.hh
parent285b88a57b0111cc6698f2e30182dca17d8ea15a (diff)
parent133903b28d06842ec8fd30ae8b439c37e33da31b (diff)
downloadgem5-7709e6ba93be4b67b22e2f3f9c853a3e1ab4458b.tar.xz
Merge ktlim@zizzer:/bk/newmem
into zamp.eecs.umich.edu:/z/ktlim2/clean/newmem-merge --HG-- extra : convert_revision : 5c0e56572c5ca14e0c9a7ac52b0453026e48b336
Diffstat (limited to 'src/cpu/o3/lsq_impl.hh')
-rw-r--r--src/cpu/o3/lsq_impl.hh12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/cpu/o3/lsq_impl.hh b/src/cpu/o3/lsq_impl.hh
index 27aa0dc3c..0b6c6f542 100644
--- a/src/cpu/o3/lsq_impl.hh
+++ b/src/cpu/o3/lsq_impl.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2004-2006 The Regents of The University of Michigan
+ * Copyright (c) 2005-2006 The Regents of The University of Michigan
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -108,6 +108,16 @@ LSQ<Impl>::name() const
template<class Impl>
void
+LSQ<Impl>::regStats()
+{
+ //Initialize LSQs
+ for (int tid=0; tid < numThreads; tid++) {
+ thread[tid].regStats();
+ }
+}
+
+template<class Impl>
+void
LSQ<Impl>::setActiveThreads(list<unsigned> *at_ptr)
{
activeThreads = at_ptr;