annotate include/TaskManager/CellScheduler.h @ 109:5c194c71eca8

Cerium cvs version
author gongo@gendarme.local
date Wed, 12 Nov 2008 17:39:33 +0900
parents f320d1039d51
children 72dcf908ec52
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
58
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
1 #ifndef INCLUDED_CELL_SCHEDULER
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
2 #define INCLUDED_CELL_SCHEDULER
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
3
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 98
diff changeset
4 #ifndef INCLUDED_BASE_H_
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 98
diff changeset
5 # include "base.h"
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 98
diff changeset
6 #endif
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 98
diff changeset
7
58
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
8 #ifndef INCLUDED_SCHEDULER
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
9 # include "Scheduler.h"
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
10 #endif
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
11
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
12 class CellScheduler : public Scheduler {
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
13 public:
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 98
diff changeset
14 BASE_NEW_DELETE(CellScheduler);
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 98
diff changeset
15
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 98
diff changeset
16 int id;
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 98
diff changeset
17
58
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
18 void init_impl(void);
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 98
diff changeset
19
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 98
diff changeset
20 void *allocate(int size);
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 98
diff changeset
21 void mainMem_alloc(int id, int size);
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 98
diff changeset
22 void mainMem_wait(void);
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 98
diff changeset
23
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 98
diff changeset
24 private:
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 98
diff changeset
25 int mainMemNum;
58
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
26 };
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
27
7492eb28b577 *** empty log message ***
gongo
parents:
diff changeset
28 #endif