view 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
line wrap: on
line source

#include "SpeTaskManagerImpl.h"
#include "Scheduler.h"
#include <stdlib.h>

SpeTaskManagerImpl::SpeTaskManagerImpl() {}
SpeTaskManagerImpl::~SpeTaskManagerImpl() {}

void SpeTaskManagerImpl::init(int spuIdle_, int useRefDma=0, int export_task_log=0) {}
void SpeTaskManagerImpl::run() {}

HTaskPtr SpeTaskManagerImpl::create_task(int cmd) {return 0;}
HTaskPtr SpeTaskManagerImpl::create_task(int cmd, memaddr rbuf, long rs, memaddr wbuf, long ws) { return 0; }
void SpeTaskManagerImpl::set_task_depend(HTaskPtr master, HTaskPtr slave) {}
void SpeTaskManagerImpl::spawn_task(HTaskPtr) {}
void SpeTaskManagerImpl::set_task_cpu(HTaskPtr, CPU_TYPE) {}

void SpeTaskManagerImpl::show_profile() {}
void SpeTaskManagerImpl::start_profile() {}
void SpeTaskManagerImpl::export_task_log() {}

void SpeTaskManagerImpl::print_arch() { printf("SpeTaskManagerImpl\n"); }

// Odd
#ifndef __CERIUM_FIFO__

TaskManagerImpl::TaskManagerImpl(int i) {}
void TaskManagerImpl::append_activeTask(HTask* p) {}
void TaskManagerImpl::append_waitTask(HTask* p) {}


HTaskPtr TaskManagerImpl::create_task(int cmd,void *from) {return 0;}
HTaskPtr TaskManagerImpl::create_task(int cmd, memaddr rbuf, long rs, memaddr wbuf, long ws,void *from) { return 0; }
HTask * TaskManagerImpl::create_task_array(int id, int num_task, int num_param, int num_inData, int num_outData,void *from) {return 0;}
void TaskManagerImpl::set_task_depend(HTaskPtr master, HTaskPtr slave) {}
void TaskManagerImpl::spawn_task(HTaskPtr) {}
void TaskManagerImpl::set_task_cpu(HTaskPtr, CPU_TYPE) {}

#endif