changeset 71b42be12ccd in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=71b42be12ccd
description:
        inorder-debug: print out workload

diffstat:

1 file changed, 5 insertions(+), 5 deletions(-)
src/cpu/inorder/cpu.cc |   10 +++++-----

diffs (28 lines):

diff -r 81e6aa93bc6a -r 71b42be12ccd src/cpu/inorder/cpu.cc
--- a/src/cpu/inorder/cpu.cc    Tue Sep 29 18:03:10 2009 -0400
+++ b/src/cpu/inorder/cpu.cc    Thu Oct 01 09:35:06 2009 -0400
@@ -224,19 +224,19 @@
     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
 
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to