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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
621
64e05530e333 Cell fix
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 619
diff changeset
1 #include "SpeTaskManagerImpl.h"
619
278db3ca751d RenewTask removal
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
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
278db3ca751d RenewTask removal
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
4
637
20665e4060ea not yet worked...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 636
diff changeset
5 SpeTaskManagerImpl::SpeTaskManagerImpl() {}
20665e4060ea not yet worked...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 636
diff changeset
6 SpeTaskManagerImpl::~SpeTaskManagerImpl() {}
619
278db3ca751d RenewTask removal
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
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
20665e4060ea not yet worked...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 636
diff changeset
9 void SpeTaskManagerImpl::run() {}
20665e4060ea not yet worked...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 636
diff changeset
10
20665e4060ea not yet worked...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 636
diff changeset
11 HTaskPtr SpeTaskManagerImpl::create_task(int cmd) {return 0;}
20665e4060ea not yet worked...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 636
diff changeset
12 HTaskPtr SpeTaskManagerImpl::create_task(int cmd, memaddr rbuf, long rs, memaddr wbuf, long ws) { return 0; }
20665e4060ea not yet worked...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 636
diff changeset
13 void SpeTaskManagerImpl::set_task_depend(HTaskPtr master, HTaskPtr slave) {}
20665e4060ea not yet worked...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 636
diff changeset
14 void SpeTaskManagerImpl::spawn_task(HTaskPtr) {}
20665e4060ea not yet worked...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 636
diff changeset
15 void SpeTaskManagerImpl::set_task_cpu(HTaskPtr, CPU_TYPE) {}
20665e4060ea not yet worked...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 636
diff changeset
16
672
27fec8c70c9c add profiling code
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 637
diff changeset
17 void SpeTaskManagerImpl::show_profile() {}
27fec8c70c9c add profiling code
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 637
diff changeset
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
27fec8c70c9c add profiling code
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 637
diff changeset
20
1070
yutaka@localhost.localdomain
parents: 1057
diff changeset
21 void SpeTaskManagerImpl::print_arch() { printf("SpeTaskManagerImpl\n"); }
yutaka@localhost.localdomain
parents: 1057
diff changeset
22
672
27fec8c70c9c add profiling code
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 637
diff changeset
23 // Odd
1179
5393bebe0956 CpuThreads update
Daichi TOMA
parents: 1070
diff changeset
24 #ifndef __CERIUM_FIFO__
672
27fec8c70c9c add profiling code
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 637
diff changeset
25
637
20665e4060ea not yet worked...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 636
diff changeset
26 TaskManagerImpl::TaskManagerImpl(int i) {}
20665e4060ea not yet worked...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 636
diff changeset
27 void TaskManagerImpl::append_activeTask(HTask* p) {}
20665e4060ea not yet worked...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 636
diff changeset
28 void TaskManagerImpl::append_waitTask(HTask* p) {}
619
278db3ca751d RenewTask removal
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
29
672
27fec8c70c9c add profiling code
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 637
diff changeset
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
64e05530e333 Cell fix
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 619
diff changeset
34 void TaskManagerImpl::set_task_depend(HTaskPtr master, HTaskPtr slave) {}
64e05530e333 Cell fix
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 619
diff changeset
35 void TaskManagerImpl::spawn_task(HTaskPtr) {}
64e05530e333 Cell fix
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 619
diff changeset
36 void TaskManagerImpl::set_task_cpu(HTaskPtr, CPU_TYPE) {}
619
278db3ca751d RenewTask removal
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
37
1179
5393bebe0956 CpuThreads update
Daichi TOMA
parents: 1070
diff changeset
38 #endif