view TaskManager/kernel/ppe/TaskList.h @ 713:f725c6455d19

remove SIMPLE_TASK conditional
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 16 Dec 2009 15:27:46 +0900
parents 0558abba673c
children 974cd68383b3
line wrap: on
line source

#ifndef INCLUDED_TASKLIST
#define INCLUDED_TASKLIST

#include "base.h"
#include "Task.h"


#define TASK_MAX_SIZE 32

class TaskList { // 784 byte
public:
    BASE_NEW_DELETE(TaskList);

    int length; // 4 byte
    TaskList *next; // 4 byte
    SimpleTask tasks[TASK_MAX_SIZE]; // 24*TASK_MAX_SIZE
    TaskList *output; // 4 byte
    int a[1]; // padding

};

typedef TaskList* TaskListPtr;

#endif