Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
inline another getter simcall: host_get_nb_pstates
[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_ON,
22   SIMCALL_HOST_OFF,
23   SIMCALL_HOST_GET_PROPERTIES,
24   SIMCALL_HOST_GET_PROCESS_LIST,
25   SIMCALL_HOST_GET_CURRENT_POWER_PEAK,
26   SIMCALL_HOST_GET_POWER_PEAK_AT,
27   SIMCALL_HOST_GET_WATTMIN_AT,
28   SIMCALL_HOST_GET_WATTMAX_AT,
29   SIMCALL_HOST_SET_PSTATE,
30   SIMCALL_HOST_GET_MOUNTED_STORAGE_LIST,
31   SIMCALL_HOST_GET_ATTACHED_STORAGE_LIST,
32   SIMCALL_HOST_GET_PARAMS,
33   SIMCALL_HOST_SET_PARAMS,
34   SIMCALL_VM_CREATE,
35   SIMCALL_VM_START,
36   SIMCALL_VM_GET_STATE,
37   SIMCALL_VM_MIGRATE,
38   SIMCALL_VM_GET_PM,
39   SIMCALL_VM_SET_BOUND,
40   SIMCALL_VM_SET_AFFINITY,
41   SIMCALL_VM_DESTROY,
42   SIMCALL_VM_SUSPEND,
43   SIMCALL_VM_RESUME,
44   SIMCALL_VM_SHUTDOWN,
45   SIMCALL_VM_SAVE,
46   SIMCALL_VM_RESTORE,
47   SIMCALL_VM_MIGRATEFROM_RESUMETO,
48   SIMCALL_PROCESS_CREATE,
49   SIMCALL_PROCESS_KILL,
50   SIMCALL_PROCESS_KILLALL,
51   SIMCALL_PROCESS_CLEANUP,
52   SIMCALL_PROCESS_SUSPEND,
53   SIMCALL_PROCESS_RESUME,
54   SIMCALL_PROCESS_COUNT,
55   SIMCALL_PROCESS_GET_PID,
56   SIMCALL_PROCESS_GET_PPID,
57   SIMCALL_PROCESS_GET_DATA,
58   SIMCALL_PROCESS_SET_DATA,
59   SIMCALL_PROCESS_SET_HOST,
60   SIMCALL_PROCESS_GET_HOST,
61   SIMCALL_PROCESS_GET_NAME,
62   SIMCALL_PROCESS_IS_SUSPENDED,
63   SIMCALL_PROCESS_GET_PROPERTIES,
64   SIMCALL_PROCESS_JOIN,
65   SIMCALL_PROCESS_SLEEP,
66   SIMCALL_PROCESS_EXECUTE,
67   SIMCALL_PROCESS_PARALLEL_EXECUTE,
68   SIMCALL_PROCESS_EXECUTION_DESTROY,
69   SIMCALL_PROCESS_EXECUTION_CANCEL,
70   SIMCALL_PROCESS_EXECUTION_GET_REMAINS,
71   SIMCALL_PROCESS_EXECUTION_GET_STATE,
72   SIMCALL_PROCESS_EXECUTION_SET_PRIORITY,
73   SIMCALL_PROCESS_EXECUTION_SET_BOUND,
74   SIMCALL_PROCESS_EXECUTION_SET_AFFINITY,
75   SIMCALL_PROCESS_EXECUTION_WAIT,
76   SIMCALL_PROCESS_ON_EXIT,
77   SIMCALL_PROCESS_AUTO_RESTART_SET,
78   SIMCALL_PROCESS_RESTART,
79   SIMCALL_RDV_CREATE,
80   SIMCALL_RDV_DESTROY,
81   SIMCALL_RDV_COMM_COUNT_BY_HOST,
82   SIMCALL_RDV_GET_HEAD,
83   SIMCALL_RDV_SET_RECEIVER,
84   SIMCALL_RDV_GET_RECEIVER,
85   SIMCALL_COMM_IPROBE,
86   SIMCALL_COMM_SEND,
87   SIMCALL_COMM_ISEND,
88   SIMCALL_COMM_RECV,
89   SIMCALL_COMM_IRECV,
90   SIMCALL_COMM_CANCEL,
91   SIMCALL_COMM_WAITANY,
92   SIMCALL_COMM_WAIT,
93   SIMCALL_COMM_TEST,
94   SIMCALL_COMM_TESTANY,
95   SIMCALL_COMM_GET_REMAINS,
96   SIMCALL_COMM_GET_STATE,
97   SIMCALL_COMM_GET_SRC_DATA,
98   SIMCALL_COMM_GET_DST_DATA,
99   SIMCALL_COMM_GET_SRC_PROC,
100   SIMCALL_COMM_GET_DST_PROC,
101   SIMCALL_MUTEX_INIT,
102   SIMCALL_MUTEX_DESTROY,
103   SIMCALL_MUTEX_LOCK,
104   SIMCALL_MUTEX_TRYLOCK,
105   SIMCALL_MUTEX_UNLOCK,
106   SIMCALL_COND_INIT,
107   SIMCALL_COND_DESTROY,
108   SIMCALL_COND_SIGNAL,
109   SIMCALL_COND_WAIT,
110   SIMCALL_COND_WAIT_TIMEOUT,
111   SIMCALL_COND_BROADCAST,
112   SIMCALL_SEM_INIT,
113   SIMCALL_SEM_DESTROY,
114   SIMCALL_SEM_RELEASE,
115   SIMCALL_SEM_WOULD_BLOCK,
116   SIMCALL_SEM_ACQUIRE,
117   SIMCALL_SEM_ACQUIRE_TIMEOUT,
118   SIMCALL_SEM_GET_CAPACITY,
119   SIMCALL_FILE_READ,
120   SIMCALL_FILE_WRITE,
121   SIMCALL_FILE_OPEN,
122   SIMCALL_FILE_CLOSE,
123   SIMCALL_FILE_UNLINK,
124   SIMCALL_FILE_GET_SIZE,
125   SIMCALL_FILE_TELL,
126   SIMCALL_FILE_SEEK,
127   SIMCALL_FILE_GET_INFO,
128   SIMCALL_FILE_MOVE,
129   SIMCALL_STORAGE_GET_FREE_SIZE,
130   SIMCALL_STORAGE_GET_USED_SIZE,
131   SIMCALL_STORAGE_GET_PROPERTIES,
132   SIMCALL_STORAGE_GET_CONTENT,
133   SIMCALL_ASR_GET_PROPERTIES,
134   SIMCALL_MC_RANDOM,
135   SIMCALL_SET_CATEGORY,
136 #ifdef HAVE_LATENCY_BOUND_TRACKING
137   SIMCALL_COMM_IS_LATENCY_BOUNDED,
138 #endif
139
140 #ifdef HAVE_MC
141   SIMCALL_MC_SNAPSHOT,
142   SIMCALL_MC_COMPARE_SNAPSHOTS,
143 #endif
144   NUM_SIMCALLS
145 } e_smx_simcall_t;