summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2009-10-01 09:35:06 -0400
committerKorey Sewell <ksewell@umich.edu>2009-10-01 09:35:06 -0400
commitf09f84da6ef01870991345539edae46b401cf311 (patch)
tree5691e9613598079b6890f922c1b4e3c2a3923839 /src
parent1290a5f340db08215bee9b0c02173ead53b95050 (diff)
downloadgem5-f09f84da6ef01870991345539edae46b401cf311.tar.xz
inorder-debug: print out workload
Diffstat (limited to 'src')
-rw-r--r--src/cpu/inorder/cpu.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cpu/inorder/cpu.cc b/src/cpu/inorder/cpu.cc
index 969359fae..1e3fdc40e 100644
--- a/src/cpu/inorder/cpu.cc
+++ b/src/cpu/inorder/cpu.cc
@@ -224,19 +224,19 @@ InOrderCPU::InOrderCPU(Params *params)
for (ThreadID tid = 0; tid < numThreads; ++tid) {
#if FULL_SYSTEM
// SMT is not supported in FS mode yet.
- assert(this->numThreads == 1);
- this->thread[tid] = new Thread(this, 0);
+ assert(numThreads == 1);
+ thread[tid] = new Thread(this, 0);
#else
if (tid < (ThreadID)params->workload.size()) {
DPRINTF(InOrderCPU, "Workload[%i] process is %#x\n",
- tid, this->thread[tid]);
- this->thread[tid] =
+ tid, params->workload[tid]->prog_fname);
+ thread[tid] =
new Thread(this, tid, params->workload[tid]);
} else {
//Allocate Empty thread so M5 can use later
//when scheduling threads to CPU
Process* dummy_proc = params->workload[0];
- this->thread[tid] = new Thread(this, tid, dummy_proc);
+ thread[tid] = new Thread(this, tid, dummy_proc);
}
#endif