Mercurial > hg > Members > kono > Cerium
view TaskManager/Cell/spe/SpeTaskManagerImpl.h @ 802:496a8159e840
global id
author | yutaka@localhost.localdomain |
---|---|
date | Wed, 19 May 2010 14:59:41 +0900 |
parents | 3b6290c05f9f |
children | dc3621ee7816 |
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); }; #endif /* INCLUDED_SPE_TASK_MANAGER_IMPL */