Mercurial > hg > Game > Cerium
annotate TaskManager/Cell/spe/SpeTaskManagerImpl.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 | af2adce9752e |
children | f2512fb94223 |
rev | line source |
---|---|
621 | 1 #include "SpeTaskManagerImpl.h" |
619 | 2 #include "Scheduler.h" |
636
aba1600e8f83
Cell Simple Task compiled. but not worked.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
621
diff
changeset
|
3 #include <stdlib.h> |
619 | 4 |
637 | 5 SpeTaskManagerImpl::SpeTaskManagerImpl() {} |
6 SpeTaskManagerImpl::~SpeTaskManagerImpl() {} | |
619 | 7 |
1479
163220e54cc0
remove hard code for TaskLog
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents:
1428
diff
changeset
|
8 void SpeTaskManagerImpl::init(int spuIdle_, int useRefDma=0, int export_task_log=0) {} |
637 | 9 void SpeTaskManagerImpl::run() {} |
10 | |
11 HTaskPtr SpeTaskManagerImpl::create_task(int cmd) {return 0;} | |
12 HTaskPtr SpeTaskManagerImpl::create_task(int cmd, memaddr rbuf, long rs, memaddr wbuf, long ws) { return 0; } | |
13 void SpeTaskManagerImpl::set_task_depend(HTaskPtr master, HTaskPtr slave) {} | |
14 void SpeTaskManagerImpl::spawn_task(HTaskPtr) {} | |
15 void SpeTaskManagerImpl::set_task_cpu(HTaskPtr, CPU_TYPE) {} | |
16 | |
672 | 17 void SpeTaskManagerImpl::show_profile() {} |
18 void SpeTaskManagerImpl::start_profile() {} | |
1428
af2adce9752e
add to export TaskLog
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents:
1229
diff
changeset
|
19 void SpeTaskManagerImpl::export_task_log() {} |
672 | 20 |
1070 | 21 void SpeTaskManagerImpl::print_arch() { printf("SpeTaskManagerImpl\n"); } |
22 | |
672 | 23 // Odd |
1179 | 24 #ifndef __CERIUM_FIFO__ |
672 | 25 |
637 | 26 TaskManagerImpl::TaskManagerImpl(int i) {} |
27 void TaskManagerImpl::append_activeTask(HTask* p) {} | |
28 void TaskManagerImpl::append_waitTask(HTask* p) {} | |
619 | 29 |
672 | 30 |
897
6bd218d3f643
add return address in SimpleTask for debugging.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
801
diff
changeset
|
31 HTaskPtr TaskManagerImpl::create_task(int cmd,void *from) {return 0;} |
6bd218d3f643
add return address in SimpleTask for debugging.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
801
diff
changeset
|
32 HTaskPtr TaskManagerImpl::create_task(int cmd, memaddr rbuf, long rs, memaddr wbuf, long ws,void *from) { return 0; } |
6bd218d3f643
add return address in SimpleTask for debugging.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
801
diff
changeset
|
33 HTask * TaskManagerImpl::create_task_array(int id, int num_task, int num_param, int num_inData, int num_outData,void *from) {return 0;} |
621 | 34 void TaskManagerImpl::set_task_depend(HTaskPtr master, HTaskPtr slave) {} |
35 void TaskManagerImpl::spawn_task(HTaskPtr) {} | |
36 void TaskManagerImpl::set_task_cpu(HTaskPtr, CPU_TYPE) {} | |
619 | 37 |
1179 | 38 #endif |