Mercurial > hg > Game > Cerium
view TaskManager/Cell/spe/SpeTaskManagerImpl.h @ 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 | 840dee241530 |
children | f2512fb94223 |
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" #include "TaskList.h" class SpeTaskManagerImpl : public TaskManagerImpl { public: /* constructor */ BASE_NEW_DELETE(SpeTaskManagerImpl); SpeTaskManagerImpl() ; ~SpeTaskManagerImpl(); /* functions */ // call by system void init(int spuIdle,int useRefDma, int export_task_log); void run(); void start_profile(); void show_profile(); void export_task_log(); 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); TaskListPtr createTaskList() { return 0; } 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) {} void print_arch(); } ; #endif /* INCLUDED_SPE_TASK_MANAGER_IMPL */