Mercurial > hg > Members > kono > Cerium
annotate TaskManager/Cell/spe/SpeTaskManagerImpl.h @ 1048:40cde8c1a6cd default tip
add ScaleXY (not for allExecute...)
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 08 Dec 2010 06:22:15 +0900 |
parents | 0c11c2fd7e63 |
children |
rev | line source |
---|---|
637 | 1 #ifndef INCLUDED_SPE_TASK_MANAGER_IMPL |
2 #define INCLUDED_SPE_TASK_MANAGER_IMPL | |
619 | 3 |
637 | 4 #include "TaskManagerImpl.h" |
5 #include "MainScheduler.h" | |
6 #include "Scheduler.h" | |
621 | 7 |
637 | 8 class SpeTaskManagerImpl : public TaskManagerImpl { |
9 public: | |
621 | 10 /* constructor */ |
664 | 11 BASE_NEW_DELETE(SpeTaskManagerImpl); |
12 | |
637 | 13 SpeTaskManagerImpl() ; |
14 ~SpeTaskManagerImpl(); | |
619 | 15 |
637 | 16 /* functions */ |
17 // call by system | |
18 void init(); | |
19 void run(); | |
672 | 20 void start_profile(); |
21 void show_profile(); | |
621 | 22 HTaskPtr create_task(int cmd); |
637 | 23 HTaskPtr create_task(int cmd, memaddr rbuf, long r_size, memaddr wbuf, long w_size); |
802 | 24 HTaskPtr create_task_array(int cmd, memaddr rbuf, long rs, memaddr wbuf, long ws); |
621 | 25 void set_task_depend(HTaskPtr master, HTaskPtr slave); |
26 void spawn_task(HTaskPtr); | |
27 void set_task_cpu(HTaskPtr, CPU_TYPE); | |
835 | 28 void polling() {} |
941
0c11c2fd7e63
add no_auto_free flag on HTask
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
899
diff
changeset
|
29 void free_htask(HTaskPtr htask) {} |
637 | 30 |
899 | 31 } ; |
619 | 32 |
33 | |
637 | 34 #endif /* INCLUDED_SPE_TASK_MANAGER_IMPL */ |