malleabilityStates.h 980 Bytes
Newer Older
1
//States
2
3
#define MAL_UNRESERVED -1
#define MAL_DENIED -2
iker_martin's avatar
iker_martin committed
4
#define MAL_ZOMBIE -3
5
6
#define MAL_NOT_STARTED 0
#define MAL_SPAWN_PENDING 1
7
8
9
10
11
12
#define MAL_SPAWN_SINGLE_START 2
#define MAL_SPAWN_SINGLE_PENDING 3
#define MAL_SPAWN_COMPLETED 4
#define MAL_DIST_PENDING 5
#define MAL_DIST_COMPLETED 6
#define MAL_DIST_ADAPTED 7
13
14


15
16
17
#define MAL_APP_EXECUTING 0
#define MAL_APP_ENDED 1

18
19
20
21
// TODO Refactor
#define COMM_PHY_NODES 1
#define COMM_PHY_CPU 2

22
// SPAWN METHODS
23
24
#define COMM_SPAWN_SERIAL 0
#define COMM_SPAWN_PTHREAD 1
25
26
#define COMM_SPAWN_MERGE 2
#define COMM_SPAWN_MERGE_PTHREAD 3
27
28
29
//#define COMM_SPAWN_BASELINE 0
//#define COMM_SPAWN_MERGE 1
//SPAWN STRATEGIES
30
31
#define COMM_SPAWN_MULTIPLE 0
#define COMM_SPAWN_SINGLE 1
32
33
//#define COMM_SPAWN_SERIAL 0
//#define COMM_SPAWN_PTHREAD 1
34
35
36
37
38

#define MAL_USE_NORMAL 0
#define MAL_USE_IBARRIER 1
#define MAL_USE_POINT 2
#define MAL_USE_THREAD 3
39
40
41
42


#define MAL_INT 0
#define MAL_CHAR 1
43
44
45

#define MALLEABILITY_CHILDREN 1
#define MALLEABILITY_NOT_CHILDREN 0