diff TaskManager/Cell/CellTaskManagerImpl.cc @ 1479:163220e54cc0 draft

remove hard code for TaskLog
author Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
date Tue, 24 Jul 2012 17:15:15 +0900
parents 5ca4e9469c65
children f2512fb94223
line wrap: on
line diff
--- a/TaskManager/Cell/CellTaskManagerImpl.cc	Fri Jul 20 05:47:14 2012 +0900
+++ b/TaskManager/Cell/CellTaskManagerImpl.cc	Tue Jul 24 17:15:15 2012 +0900
@@ -23,7 +23,7 @@
 	delete ppeManager;
 }
 
-void CellTaskManagerImpl::init(int spuIdle_,int useRefDma) {
+void CellTaskManagerImpl::init(int spuIdle_,int useRefDma,int export_task_log) {
 	spe_running = 0;
 	spuIdle = spuIdle_;
 
@@ -60,6 +60,8 @@
 	schedTaskManager = new SchedTask();
 	schedTaskManager->init(0, 0, ppeManager->get_scheduler(), 0);
 	ppeManager->schedTaskManager = schedTaskManager;
+
+        _export_task_log = export_task_log;
 }
 
 void CellTaskManagerImpl::append_activeTask(HTaskPtr task) {