Mercurial > hg > Members > kono > Cerium
view 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 |
line wrap: on
line source
#ifndef INCLUDED_SPE_TASK_MANAGER_IMPL #define INCLUDED_SPE_TASK_MANAGER_IMPL #include "TaskManagerImpl.h" #include "MainScheduler.h" #include "Scheduler.h" class SpeTaskManagerImpl : public TaskManagerImpl { public: /* constructor */ BASE_NEW_DELETE(SpeTaskManagerImpl); SpeTaskManagerImpl() ; ~SpeTaskManagerImpl(); /* functions */ // call by system void init(); void run(); void start_profile(); void show_profile(); HTaskPtr create_task(int cmd); HTaskPtr create_task(int cmd, memaddr rbuf, long r_size, memaddr wbuf, long w_size); HTaskPtr create_task_array(int cmd, memaddr rbuf, long rs, memaddr wbuf, long ws); void set_task_depend(HTaskPtr master, HTaskPtr slave); void spawn_task(HTaskPtr); void set_task_cpu(HTaskPtr, CPU_TYPE); void polling() {} void free_htask(HTaskPtr htask) {} } ; #endif /* INCLUDED_SPE_TASK_MANAGER_IMPL */