Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
further energy interface cleanups (see changelog)
[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_SET_PSTATE,
35   SIMCALL_HOST_GET_CONSUMED_ENERGY,
36   SIMCALL_HOST_EXECUTE,
37   SIMCALL_HOST_PARALLEL_EXECUTE,
38   SIMCALL_HOST_EXECUTION_DESTROY,
39   SIMCALL_HOST_EXECUTION_CANCEL,
40   SIMCALL_HOST_EXECUTION_GET_REMAINS,
41   SIMCALL_HOST_EXECUTION_GET_STATE,
42   SIMCALL_HOST_EXECUTION_SET_PRIORITY,
43   SIMCALL_HOST_EXECUTION_SET_BOUND,
44   SIMCALL_HOST_EXECUTION_SET_AFFINITY,
45   SIMCALL_HOST_EXECUTION_WAIT,
46   SIMCALL_HOST_GET_MOUNTED_STORAGE_LIST,
47   SIMCALL_HOST_GET_ATTACHED_STORAGE_LIST,
48   SIMCALL_HOST_GET_PARAMS,
49   SIMCALL_HOST_SET_PARAMS,
50   SIMCALL_VM_CREATE,
51   SIMCALL_VM_START,
52   SIMCALL_VM_GET_STATE,
53   SIMCALL_VM_MIGRATE,
54   SIMCALL_VM_GET_PM,
55   SIMCALL_VM_SET_BOUND,
56   SIMCALL_VM_SET_AFFINITY,
57   SIMCALL_VM_DESTROY,
58   SIMCALL_VM_SUSPEND,
59   SIMCALL_VM_RESUME,
60   SIMCALL_VM_SHUTDOWN,
61   SIMCALL_VM_SAVE,
62   SIMCALL_VM_RESTORE,
63   SIMCALL_VM_MIGRATEFROM_RESUMETO,
64   SIMCALL_PROCESS_CREATE,
65   SIMCALL_PROCESS_KILL,
66   SIMCALL_PROCESS_KILLALL,
67   SIMCALL_PROCESS_CLEANUP,
68   SIMCALL_PROCESS_CHANGE_HOST,
69   SIMCALL_PROCESS_SUSPEND,
70   SIMCALL_PROCESS_RESUME,
71   SIMCALL_PROCESS_COUNT,
72   SIMCALL_PROCESS_GET_PID,
73   SIMCALL_PROCESS_GET_PPID,
74   SIMCALL_PROCESS_GET_DATA,
75   SIMCALL_PROCESS_SET_DATA,
76   SIMCALL_PROCESS_GET_HOST,
77   SIMCALL_PROCESS_GET_NAME,
78   SIMCALL_PROCESS_IS_SUSPENDED,
79   SIMCALL_PROCESS_GET_PROPERTIES,
80   SIMCALL_PROCESS_JOIN,
81   SIMCALL_PROCESS_SLEEP,
82   SIMCALL_PROCESS_ON_EXIT,
83   SIMCALL_PROCESS_AUTO_RESTART_SET,
84   SIMCALL_PROCESS_RESTART,
85   SIMCALL_RDV_CREATE,
86   SIMCALL_RDV_DESTROY,
87   SIMCALL_RDV_COMM_COUNT_BY_HOST,
88   SIMCALL_RDV_GET_HEAD,
89   SIMCALL_RDV_SET_RECEIVER,
90   SIMCALL_RDV_GET_RECEIVER,
91   SIMCALL_COMM_IPROBE,
92   SIMCALL_COMM_SEND,
93   SIMCALL_COMM_ISEND,
94   SIMCALL_COMM_RECV,
95   SIMCALL_COMM_IRECV,
96   SIMCALL_COMM_CANCEL,
97   SIMCALL_COMM_WAITANY,
98   SIMCALL_COMM_WAIT,
99   SIMCALL_COMM_TEST,
100   SIMCALL_COMM_TESTANY,
101   SIMCALL_COMM_GET_REMAINS,
102   SIMCALL_COMM_GET_STATE,
103   SIMCALL_COMM_GET_SRC_DATA,
104   SIMCALL_COMM_GET_DST_DATA,
105   SIMCALL_COMM_GET_SRC_PROC,
106   SIMCALL_COMM_GET_DST_PROC,
107   SIMCALL_MUTEX_INIT,
108   SIMCALL_MUTEX_DESTROY,
109   SIMCALL_MUTEX_LOCK,
110   SIMCALL_MUTEX_TRYLOCK,
111   SIMCALL_MUTEX_UNLOCK,
112   SIMCALL_COND_INIT,
113   SIMCALL_COND_DESTROY,
114   SIMCALL_COND_SIGNAL,
115   SIMCALL_COND_WAIT,
116   SIMCALL_COND_WAIT_TIMEOUT,
117   SIMCALL_COND_BROADCAST,
118   SIMCALL_SEM_INIT,
119   SIMCALL_SEM_DESTROY,
120   SIMCALL_SEM_RELEASE,
121   SIMCALL_SEM_WOULD_BLOCK,
122   SIMCALL_SEM_ACQUIRE,
123   SIMCALL_SEM_ACQUIRE_TIMEOUT,
124   SIMCALL_SEM_GET_CAPACITY,
125   SIMCALL_FILE_READ,
126   SIMCALL_FILE_WRITE,
127   SIMCALL_FILE_OPEN,
128   SIMCALL_FILE_CLOSE,
129   SIMCALL_FILE_UNLINK,
130   SIMCALL_FILE_GET_SIZE,
131   SIMCALL_FILE_TELL,
132   SIMCALL_FILE_SEEK,
133   SIMCALL_FILE_GET_INFO,
134   SIMCALL_FILE_MOVE,
135   SIMCALL_STORAGE_GET_FREE_SIZE,
136   SIMCALL_STORAGE_GET_USED_SIZE,
137   SIMCALL_STORAGE_GET_PROPERTIES,
138   SIMCALL_STORAGE_GET_CONTENT,
139   SIMCALL_ASR_GET_PROPERTIES,
140   SIMCALL_MC_RANDOM,
141   SIMCALL_SET_CATEGORY,
142 #ifdef HAVE_LATENCY_BOUND_TRACKING
143   SIMCALL_COMM_IS_LATENCY_BOUNDED,
144 #endif
145
146 #ifdef HAVE_MC
147   SIMCALL_MC_SNAPSHOT,
148   SIMCALL_MC_COMPARE_SNAPSHOTS,
149 #endif
150   NUM_SIMCALLS
151 } e_smx_simcall_t;