Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
e211d987e4fd18cb20e9235dcf7d48402fcc9984
[simgrid.git] / src / simix / simcalls.in
1 # Copyright (c) 2014. The SimGrid Team.
2 # All rights reserved.
3
4 # This program is free software; you can redistribute it and/or modify it
5 # under the terms of the license (GNU LGPL) which comes with this package.
6
7 # name has_answer (restype,rescast) (arg0name,arg0type,arg0cast) (arg1name,arg1type,arg1cast)
8 host_get_by_name True (void*, smx_host_t) (name, const char*)
9 host_get_name True (const char*) (host, void*, smx_host_t)
10 host_on True (void) (host, void*, smx_host_t)
11 host_off True (void) (host, void*, smx_host_t)
12 host_get_properties True (void*, xbt_dict_t) (host, void*, smx_host_t)
13 host_get_core True (int) (host, void*, smx_host_t)
14 host_get_process_list True (void*, xbt_swag_t) (host, void*, smx_host_t)
15 host_get_speed True (double) (host, void*, smx_host_t)
16 host_get_available_speed True (double) (host, void*, smx_host_t)
17 host_get_state True (int) (host, void*, smx_host_t)
18 host_get_current_power_peak True (double) (host, void*, smx_host_t)
19 host_get_power_peak_at True (double) (host, void*, smx_host_t) (pstate_index, int)
20 host_get_nb_pstates True (int) (host, void*, smx_host_t)
21 host_set_power_peak_at True (void) (host, void*, smx_host_t) (pstate_index, int)
22 host_get_consumed_energy True (double) (host, void*, smx_host_t)
23 host_execute True (void*, smx_action_t) (name, const char*) (host, void*, smx_host_t) (computation_amount, double) (priority, double) (bound, double) (affinity_mask, unsigned long)
24 host_parallel_execute True (void*, smx_action_t) (name, const char*) (host_nb, int) (host_list, void*, smx_host_t*) (computation_amount, void*, double*) (communication_amount, void*, double*) (amount, double) (rate, double)
25 host_execution_destroy True (void) (execution, void*, smx_action_t)
26 host_execution_cancel True (void) (execution, void*, smx_action_t)
27 host_execution_get_remains True (double) (execution, void*, smx_action_t)
28 host_execution_get_state True (int, e_smx_state_t) (execution, void*, smx_action_t)
29 host_execution_set_priority True (void) (execution, void*, smx_action_t) (priority, double)
30 host_execution_set_bound True (void) (execution, void*, smx_action_t) (bound, double)
31 host_execution_set_affinity True (void) (execution, void*, smx_action_t) (ws, void*, smx_host_t) (mask, unsigned long)
32 host_execution_wait False (int) (execution, void*, smx_action_t)
33 host_get_mounted_storage_list True (void*, xbt_dict_t) (host, void*, smx_host_t)
34 host_get_attached_storage_list True (void*, xbt_dynar_t) (host, void*, smx_host_t)
35 host_get_params True (void) (ind_vm, void*, smx_host_t) (params, void*, ws_params_t)
36 host_set_params True (void) (ind_vm, void*, smx_host_t) (params, void*, ws_params_t)
37 vm_create True (void*, smx_host_t) (name, const char*) (ind_pm, void*, smx_host_t)
38 vm_start True (void) (ind_vm, void*, smx_host_t)
39 vm_get_state True (int) (ind_vm, void*, smx_host_t)
40 vm_migrate True (void) (ind_vm, void*, smx_host_t) (ind_dst_pm, void*, smx_host_t)
41 vm_get_pm True (void*) (ind_vm, void*, smx_host_t)
42 vm_set_bound True (void) (ind_vm, void*, smx_host_t) (bound, double)
43 vm_set_affinity True (void) (ind_vm, void*, smx_host_t) (ind_pm, void*, smx_host_t) (mask, unsigned long)
44 vm_destroy True (void) (ind_vm, void*, smx_host_t)
45 vm_suspend True (void) (ind_vm, void*, smx_host_t)
46 vm_resume True (void) (ind_vm, void*, smx_host_t)
47 vm_shutdown True (void) (ind_vm, void*, smx_host_t)
48 vm_save True (void) (ind_vm, void*, smx_host_t)
49 vm_restore True (void) (ind_vm, void*, smx_host_t)
50 process_create True (void) (process, void*, smx_process_t*) (name, const char*) (code, FPtr, xbt_main_func_t) (data, void*) (hostname, const char*) (kill_time, double) (argc, int) (argv, void*, char**) (properties, void*, xbt_dict_t) (auto_restart, int)
51 process_kill True (void) (process, void*, smx_process_t)
52 process_killall True (void) (reset_pid, int)
53 process_cleanup True (void) (process, void*, smx_process_t)
54 process_change_host True (void) (process, void*, smx_process_t) (dest, void*, smx_host_t)
55 process_suspend False (void) (process, void*, smx_process_t)
56 process_resume True (void) (process, void*, smx_process_t)
57 process_count True (int)
58 process_get_PID True (int) (process, void*, smx_process_t)
59 process_get_PPID True (int) (process, void*, smx_process_t)
60 process_get_data True (void*) (process, void*, smx_process_t)
61 process_set_data True (void) (process, void*, smx_process_t) (data, void*)
62 process_get_host True (void*, smx_host_t) (process, void*, smx_process_t)
63 process_get_name True (const char*) (process, void*, smx_process_t)
64 process_is_suspended True (int) (process, void*, smx_process_t)
65 process_get_properties True (void*, xbt_dict_t) (process, void*, smx_process_t)
66 process_join False (int) (process, void*, smx_process_t) (timeout, double)
67 process_sleep False (int) (duration, double)
68 process_on_exit True (void) (process, void*, smx_process_t) (fun, FPtr, int_f_pvoid_pvoid_t) (data, void*)
69 process_auto_restart_set True (void) (process, void*, smx_process_t) (auto_restart, int)
70 process_restart True (void*, smx_process_t) (process, void*, smx_process_t)
71 rdv_create True (void*, smx_rdv_t) (name, const char*)
72 rdv_destroy True (void) (rdv, void*, smx_rdv_t)
73 #rdv_get_by_name True (void*, smx_host_t) (name, const char*)
74 rdv_comm_count_by_host True (unsigned int) (rdv, void*, smx_rdv_t) (host, void*, smx_host_t)
75 rdv_get_head True (void*, smx_action_t) (rdv, void*, smx_rdv_t)
76 rdv_set_receiver True (void) (rdv, void*, smx_rdv_t) (receiver, void*, smx_process_t)
77 rdv_get_receiver True (void*, smx_process_t) (rdv, void*, smx_rdv_t)
78 comm_iprobe True (void*, smx_action_t) (rdv, void*, smx_rdv_t) (type, int) (src, int) (tag, int) (match_fun, FPtr, simix_match_func_t) (data, void*)
79 comm_send False (void) (src, void*, smx_process_t) (rdv, void*, smx_rdv_t)  (task_size, double) (rate, double) (src_buff, void*) (src_buff_size, size_t) (match_fun, FPtr, simix_match_func_t) (copy_data_fun, FPtr, simix_copy_data_func_t) (data, void*) (timeout, double)
80 comm_isend True (void*, smx_action_t) (src, void*, smx_process_t) (rdv, void*, smx_rdv_t) (task_size, double) (rate, double) (src_buff, void*) (src_buff_size, size_t) (match_fun, FPtr, simix_match_func_t) (clean_fun, FPtr, simix_clean_func_t) (copy_data_fun, FPtr, simix_copy_data_func_t) (data, void*) (detached, int)
81 comm_recv False (void) (rdv, void*, smx_rdv_t) (dst_buff, void*) (dst_buff_size, void*, size_t*) (match_fun, FPtr, simix_match_func_t) (copy_data_fun, FPtr, simix_copy_data_func_t) (data, void*) (timeout, double) (rate, double)
82 comm_irecv True (void*, smx_action_t) (rdv, void*, smx_rdv_t) (dst_buff, void*) (dst_buff_size, void*, size_t*) (match_fun, FPtr, simix_match_func_t) (copy_data_fun, FPtr, simix_copy_data_func_t) (data, void*) (rate, double)
83 comm_cancel True (void) (comm, void*, smx_action_t)
84 comm_waitany False (int) (comms, void*, xbt_dynar_t)
85 comm_wait False (void) (comm, void*, smx_action_t) (timeout, double)
86 comm_test False (int) (comm, void*, smx_action_t)
87 comm_testany False (int) (comms, void*, xbt_dynar_t)
88 comm_get_remains True (double) (comm, void*, smx_action_t)
89 comm_get_state True (int, e_smx_state_t) (comm, void*, smx_action_t)
90 comm_get_src_data True (void*) (comm, void*, smx_action_t)
91 comm_get_dst_data True (void*) (comm, void*, smx_action_t)
92 comm_get_src_proc True (void*, smx_process_t) (comm, void*, smx_action_t)
93 comm_get_dst_proc True (void*, smx_process_t) (comm, void*, smx_action_t)
94 mutex_init True (void*, smx_mutex_t)
95 mutex_destroy True (void) (mutex, void*, smx_mutex_t)
96 mutex_lock False (void) (mutex, void*, smx_mutex_t)
97 mutex_trylock True (int) (mutex, void*, smx_mutex_t)
98 mutex_unlock True (void) (mutex, void*, smx_mutex_t)
99 cond_init True (void*, smx_cond_t)
100 cond_destroy True (void) (cond, void*, smx_cond_t)
101 cond_signal True (void) (cond, void*, smx_cond_t)
102 cond_wait False (void) (cond, void*, smx_cond_t) (mutex, void*, smx_mutex_t)
103 cond_wait_timeout False (void) (cond, void*, smx_cond_t) (mutex, void*, smx_mutex_t) (timeout, double)
104 cond_broadcast True (void) (cond, void*, smx_cond_t)
105 sem_init True (void*, smx_sem_t) (capacity, unsigned int)
106 sem_destroy True (void) (sem, void*, smx_sem_t)
107 sem_release True (void) (sem, void*, smx_sem_t)
108 sem_would_block True (int) (sem, void*, smx_sem_t)
109 sem_acquire False (void) (sem, void*, smx_sem_t)
110 sem_acquire_timeout False (void) (sem, void*, smx_sem_t) (timeout, double)
111 sem_get_capacity True (int) (sem, void*, smx_sem_t)
112 file_read False (sg_size_t) (fd, void*, smx_file_t) (size, sg_size_t) (host, void*, smx_host_t)
113 file_write False (sg_size_t) (fd, void*, smx_file_t) (size, sg_size_t) (host, void*, smx_host_t)
114 file_open False (void*, smx_file_t) (fullpath, const char*) (host, void*, smx_host_t)
115 file_close False (int) (fd, void*, smx_file_t) (host, void*, smx_host_t)
116 file_unlink True (int) (fd, void*, smx_file_t) (host, void*, smx_host_t)
117 file_get_size True (sg_size_t) (fd, void*, smx_file_t)
118 file_tell True (sg_size_t) (fd, void*, smx_file_t)
119 file_seek True (int) (fd, void*, smx_file_t) (offset, sg_offset_t) (origin, int)
120 file_get_info True (void*, xbt_dynar_t) (fd, void*, smx_file_t)
121 file_move True (int) (fd, void*, smx_file_t) (fullpath, const char*)
122 storage_get_free_size True (sg_size_t) (storage, void*, smx_storage_t)
123 storage_get_used_size True (sg_size_t) (name, void*, smx_storage_t)
124 storage_get_properties True (void*, xbt_dict_t) (storage, void*, smx_storage_t)
125 storage_get_content True (void*, xbt_dict_t) (storage, void*, smx_storage_t)
126 asr_get_properties True (void*, xbt_dict_t) (name, const char*)
127 ## HAVE_LATENCY_BOUND_TRACKING
128 comm_is_latency_bounded True (int) (comm, void*, smx_action_t)
129 ## HAVE_TRACING
130 set_category True (void) (action, void*, smx_action_t) (category, const char*)
131 ## HAVE_MC
132 mc_snapshot True (void*, mc_snapshot_t)
133 mc_compare_snapshots True (int) (s1, void*, mc_snapshot_t) (s2, void*, mc_snapshot_t)
134 mc_random True (int) (min, int) (max, int)