Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
a025c255504d0ed346615568609b816381af3a9f
[simgrid.git] / src / simix / popping_enum.h
1 /**********************************************************************/
2 /* File generated by src/simix/simcalls.py from src/simix/simcalls.in */
3 /*                                                                    */
4 /*                    DO NOT EVER CHANGE THIS FILE                    */
5 /*                                                                    */
6 /* change simcalls specification in src/simix/simcalls.in             */
7 /**********************************************************************/
8
9 /*
10  * Note that the name comes from http://en.wikipedia.org/wiki/Popping
11  * Indeed, the control flow is doing a strange dance in there.
12  *
13  * That's not about http://en.wikipedia.org/wiki/Poop, despite the odor :)
14  */
15
16 /**
17  * @brief All possible simcalls.
18  */
19 typedef enum {
20   SIMCALL_NONE,
21   SIMCALL_HOST_GET_BY_NAME,
22   SIMCALL_HOST_GET_NAME,
23   SIMCALL_HOST_ON,
24   SIMCALL_HOST_OFF,
25   SIMCALL_HOST_GET_PROPERTIES,
26   SIMCALL_HOST_GET_CORE,
27   SIMCALL_HOST_GET_PROCESS_LIST,
28   SIMCALL_HOST_GET_SPEED,
29   SIMCALL_HOST_GET_AVAILABLE_SPEED,
30   SIMCALL_HOST_GET_STATE,
31   SIMCALL_HOST_GET_CURRENT_POWER_PEAK,
32   SIMCALL_HOST_GET_POWER_PEAK_AT,
33   SIMCALL_HOST_GET_NB_PSTATES,
34   SIMCALL_HOST_GET_WATTMIN_AT,
35   SIMCALL_HOST_GET_WATTMAX_AT,
36   SIMCALL_HOST_SET_PSTATE,
37   SIMCALL_HOST_GET_PSTATE,
38   SIMCALL_HOST_GET_CONSUMED_ENERGY,
39   SIMCALL_HOST_EXECUTE,
40   SIMCALL_HOST_PARALLEL_EXECUTE,
41   SIMCALL_HOST_EXECUTION_DESTROY,
42   SIMCALL_HOST_EXECUTION_CANCEL,
43   SIMCALL_HOST_EXECUTION_GET_REMAINS,
44   SIMCALL_HOST_EXECUTION_GET_STATE,
45   SIMCALL_HOST_EXECUTION_SET_PRIORITY,
46   SIMCALL_HOST_EXECUTION_SET_BOUND,
47   SIMCALL_HOST_EXECUTION_SET_AFFINITY,
48   SIMCALL_HOST_EXECUTION_WAIT,
49   SIMCALL_HOST_GET_MOUNTED_STORAGE_LIST,
50   SIMCALL_HOST_GET_ATTACHED_STORAGE_LIST,
51   SIMCALL_HOST_GET_PARAMS,
52   SIMCALL_HOST_SET_PARAMS,
53   SIMCALL_VM_CREATE,
54   SIMCALL_VM_START,
55   SIMCALL_VM_GET_STATE,
56   SIMCALL_VM_MIGRATE,
57   SIMCALL_VM_GET_PM,
58   SIMCALL_VM_SET_BOUND,
59   SIMCALL_VM_SET_AFFINITY,
60   SIMCALL_VM_DESTROY,
61   SIMCALL_VM_SUSPEND,
62   SIMCALL_VM_RESUME,
63   SIMCALL_VM_SHUTDOWN,
64   SIMCALL_VM_SAVE,
65   SIMCALL_VM_RESTORE,
66   SIMCALL_VM_MIGRATEFROM_RESUMETO,
67   SIMCALL_PROCESS_CREATE,
68   SIMCALL_PROCESS_KILL,
69   SIMCALL_PROCESS_KILLALL,
70   SIMCALL_PROCESS_CLEANUP,
71   SIMCALL_PROCESS_CHANGE_HOST,
72   SIMCALL_PROCESS_SUSPEND,
73   SIMCALL_PROCESS_RESUME,
74   SIMCALL_PROCESS_COUNT,
75   SIMCALL_PROCESS_GET_PID,
76   SIMCALL_PROCESS_GET_PPID,
77   SIMCALL_PROCESS_GET_DATA,
78   SIMCALL_PROCESS_SET_DATA,
79   SIMCALL_PROCESS_GET_HOST,
80   SIMCALL_PROCESS_GET_NAME,
81   SIMCALL_PROCESS_IS_SUSPENDED,
82   SIMCALL_PROCESS_GET_PROPERTIES,
83   SIMCALL_PROCESS_JOIN,
84   SIMCALL_PROCESS_SLEEP,
85   SIMCALL_PROCESS_ON_EXIT,
86   SIMCALL_PROCESS_AUTO_RESTART_SET,
87   SIMCALL_PROCESS_RESTART,
88   SIMCALL_RDV_CREATE,
89   SIMCALL_RDV_DESTROY,
90   SIMCALL_RDV_COMM_COUNT_BY_HOST,
91   SIMCALL_RDV_GET_HEAD,
92   SIMCALL_RDV_SET_RECEIVER,
93   SIMCALL_RDV_GET_RECEIVER,
94   SIMCALL_COMM_IPROBE,
95   SIMCALL_COMM_SEND,
96   SIMCALL_COMM_ISEND,
97   SIMCALL_COMM_RECV,
98   SIMCALL_COMM_IRECV,
99   SIMCALL_COMM_CANCEL,
100   SIMCALL_COMM_WAITANY,
101   SIMCALL_COMM_WAIT,
102   SIMCALL_COMM_TEST,
103   SIMCALL_COMM_TESTANY,
104   SIMCALL_COMM_GET_REMAINS,
105   SIMCALL_COMM_GET_STATE,
106   SIMCALL_COMM_GET_SRC_DATA,
107   SIMCALL_COMM_GET_DST_DATA,
108   SIMCALL_COMM_GET_SRC_PROC,
109   SIMCALL_COMM_GET_DST_PROC,
110   SIMCALL_MUTEX_INIT,
111   SIMCALL_MUTEX_DESTROY,
112   SIMCALL_MUTEX_LOCK,
113   SIMCALL_MUTEX_TRYLOCK,
114   SIMCALL_MUTEX_UNLOCK,
115   SIMCALL_COND_INIT,
116   SIMCALL_COND_DESTROY,
117   SIMCALL_COND_SIGNAL,
118   SIMCALL_COND_WAIT,
119   SIMCALL_COND_WAIT_TIMEOUT,
120   SIMCALL_COND_BROADCAST,
121   SIMCALL_SEM_INIT,
122   SIMCALL_SEM_DESTROY,
123   SIMCALL_SEM_RELEASE,
124   SIMCALL_SEM_WOULD_BLOCK,
125   SIMCALL_SEM_ACQUIRE,
126   SIMCALL_SEM_ACQUIRE_TIMEOUT,
127   SIMCALL_SEM_GET_CAPACITY,
128   SIMCALL_FILE_READ,
129   SIMCALL_FILE_WRITE,
130   SIMCALL_FILE_OPEN,
131   SIMCALL_FILE_CLOSE,
132   SIMCALL_FILE_UNLINK,
133   SIMCALL_FILE_GET_SIZE,
134   SIMCALL_FILE_TELL,
135   SIMCALL_FILE_SEEK,
136   SIMCALL_FILE_GET_INFO,
137   SIMCALL_FILE_MOVE,
138   SIMCALL_STORAGE_GET_FREE_SIZE,
139   SIMCALL_STORAGE_GET_USED_SIZE,
140   SIMCALL_STORAGE_GET_PROPERTIES,
141   SIMCALL_STORAGE_GET_CONTENT,
142   SIMCALL_ASR_GET_PROPERTIES,
143   SIMCALL_MC_RANDOM,
144   SIMCALL_SET_CATEGORY,
145 #ifdef HAVE_LATENCY_BOUND_TRACKING
146   SIMCALL_COMM_IS_LATENCY_BOUNDED,
147 #endif
148
149 #ifdef HAVE_MC
150   SIMCALL_MC_SNAPSHOT,
151   SIMCALL_MC_COMPARE_SNAPSHOTS,
152 #endif
153   NUM_SIMCALLS
154 } e_smx_simcall_t;