changeset 1060:b4b35255a99c draft

spuidle fix.
author tkaito@henri
date Wed, 15 Dec 2010 18:00:05 +0900
parents a8d96bafe9a3
children ca73615ab585
files TaskManager/Cell/CellTaskManagerImpl.cc TaskManager/kernel/main.cc
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/TaskManager/Cell/CellTaskManagerImpl.cc	Thu Dec 16 00:13:11 2010 +0900
+++ b/TaskManager/Cell/CellTaskManagerImpl.cc	Wed Dec 15 18:00:05 2010 +0900
@@ -135,7 +135,7 @@
 	HTask *task = activeTaskQueue->getFirst();
 
 	do {
-		printf("taskCommand = %d ",task->command);		
+		printf("task_name = %s ",task_name_list[task->command]);		
 	} while ((task = activeTaskQueue->getNext(task)) != 0);
 	printf("\n");
 }
--- a/TaskManager/kernel/main.cc	Thu Dec 16 00:13:11 2010 +0900
+++ b/TaskManager/kernel/main.cc	Wed Dec 15 18:00:05 2010 +0900
@@ -41,7 +41,7 @@
         } else if (strcmp(argv[i], "-p") == 0) {
 	    profile = 1;
         } else if (strcmp(argv[i], "-spuidle") == 0) {
-	    spuIdle = 1;
+	    spuIdle = atoi(argv[++i]);
 	}
     }