changeset 1065:4d79aed93a07 draft

speidle fix.
author tkaito@henri
date Thu, 16 Dec 2010 00:27:36 +0900
parents 23dab670c5aa
children 04a42a788fa2
files TaskManager/Cell/CellTaskManagerImpl.cc TaskManager/Cell/CellTaskManagerImpl.h
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/TaskManager/Cell/CellTaskManagerImpl.cc	Thu Dec 16 22:46:45 2010 +0900
+++ b/TaskManager/Cell/CellTaskManagerImpl.cc	Thu Dec 16 00:27:36 2010 +0900
@@ -129,13 +129,13 @@
 
 
 void
-debug_check_spe_idle(QueueInfo<HTask> * activeTaskQueue)
+CellTaskManagerImpl::debug_check_spe_idle(QueueInfo<HTask> * activeTaskQueue)
 {
 	printf("spu_idle : size=%d \n", activeTaskQueue->length());
 	HTask *task = activeTaskQueue->getFirst();
-
+	
 	do {
-		printf("task_name = %s ",task_name_list[task->command]);		
+		printf("task_name = %s ",ppeManager->get_task_name(task));		
 	} while ((task = activeTaskQueue->getNext(task)) != 0);
 	printf("\n");
 }
--- a/TaskManager/Cell/CellTaskManagerImpl.h	Thu Dec 16 22:46:45 2010 +0900
+++ b/TaskManager/Cell/CellTaskManagerImpl.h	Thu Dec 16 00:27:36 2010 +0900
@@ -32,6 +32,7 @@
     void show_profile() ;
     void start_profile() ;
     void polling();
+    void debug_check_spe_idle(QueueInfo<HTask> * activeTaskQueue);
 
 private:
     void send_taskList(int id);