X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/11af893fb278cc4b9b1fee154edbfdd0c6afce67..1bfdc9a38c22af6a9becf133be154a2fa2bc6589:/src/simix/simcalls.in diff --git a/src/simix/simcalls.in b/src/simix/simcalls.in index 2729ab5bec..7d1998e12f 100644 --- a/src/simix/simcalls.in +++ b/src/simix/simcalls.in @@ -1,3 +1,9 @@ +# Copyright (c) 2014. The SimGrid Team. +# All rights reserved. + +# This program is free software; you can redistribute it and/or modify it +# under the terms of the license (GNU LGPL) which comes with this package. + # name has_answer (restype,rescast) (arg0name,arg0type,arg0cast) (arg1name,arg1type,arg1cast) host_get_by_name True (void*, smx_host_t) (name, const char*) host_get_name True (const char*) (host, void*, smx_host_t) @@ -9,8 +15,6 @@ host_get_process_list True (void*, xbt_swag_t) (host, void*, smx_host_t) host_get_speed True (double) (host, void*, smx_host_t) host_get_available_speed True (double) (host, void*, smx_host_t) host_get_state True (int) (host, void*, smx_host_t) -host_get_data True (void*) (host, void*, smx_host_t) -host_set_data True (void) (host, void*, smx_host_t) (data, void*) host_get_current_power_peak True (double) (host, void*, smx_host_t) host_get_power_peak_at True (double) (host, void*, smx_host_t) (pstate_index, int) host_get_nb_pstates True (int) (host, void*, smx_host_t) @@ -26,12 +30,12 @@ host_execution_set_priority True (void) (execution, void*, smx_action_t) (priori host_execution_set_bound True (void) (execution, void*, smx_action_t) (bound, double) host_execution_set_affinity True (void) (execution, void*, smx_action_t) (ws, void*, smx_host_t) (mask, unsigned long) host_execution_wait False (int) (execution, void*, smx_action_t) -host_get_storage_list True (void*, xbt_dict_t) (host, void*, smx_host_t) +host_get_mounted_storage_list True (void*, xbt_dict_t) (host, void*, smx_host_t) +host_get_attached_storage_list True (void*, xbt_dynar_t) (host, void*, smx_host_t) host_get_params True (void) (ind_vm, void*, smx_host_t) (params, void*, ws_params_t) host_set_params True (void) (ind_vm, void*, smx_host_t) (params, void*, ws_params_t) vm_create True (void*) (name, const char*) (ind_pm, void*, smx_host_t) vm_start True (void) (ind_vm, void*, smx_host_t) -vm_set_state True (void) (ind_vm, void*, smx_host_t) (state, int) vm_get_state True (int) (ind_vm, void*, smx_host_t) vm_migrate True (void) (ind_vm, void*, smx_host_t) (ind_dst_pm, void*, smx_host_t) vm_get_pm True (void*) (ind_vm, void*, smx_host_t) @@ -50,7 +54,7 @@ process_cleanup True (void) (process, void*, smx_process_t) process_change_host True (void) (process, void*, smx_process_t) (dest, void*, smx_host_t) process_suspend False (void) (process, void*, smx_process_t) process_resume True (void) (process, void*, smx_process_t) -process_count True (int) +process_count True (int) process_get_PID True (int) (process, void*, smx_process_t) process_get_PPID True (int) (process, void*, smx_process_t) process_get_data True (void*) (process, void*, smx_process_t) @@ -59,23 +63,23 @@ process_get_host True (void*, smx_host_t) (process, void*, smx_process_t) process_get_name True (const char*) (process, void*, smx_process_t) process_is_suspended True (int) (process, void*, smx_process_t) process_get_properties True (void*, xbt_dict_t) (process, void*, smx_process_t) +process_join False (int) (process, void*, smx_process_t) (timeout, double) process_sleep False (int) (duration, double) -process_on_exit True (void) (process, void*, smx_process_t) (fun, FPtr, int_f_pvoid_t) (data, void*) +process_on_exit True (void) (process, void*, smx_process_t) (fun, FPtr, int_f_pvoid_pvoid_t) (data, void*) process_auto_restart_set True (void) (process, void*, smx_process_t) (auto_restart, int) process_restart True (void*, smx_process_t) (process, void*, smx_process_t) rdv_create True (void*, smx_rdv_t) (name, const char*) rdv_destroy True (void) (rdv, void*, smx_rdv_t) -rdv_get_by_name True (void*, smx_host_t) (name, const char*) +#rdv_get_by_name True (void*, smx_host_t) (name, const char*) rdv_comm_count_by_host True (unsigned int) (rdv, void*, smx_rdv_t) (host, void*, smx_host_t) rdv_get_head True (void*, smx_action_t) (rdv, void*, smx_rdv_t) rdv_set_receiver True (void) (rdv, void*, smx_rdv_t) (receiver, void*, smx_process_t) rdv_get_receiver True (void*, smx_process_t) (rdv, void*, smx_rdv_t) comm_iprobe True (void*, smx_action_t) (rdv, void*, smx_rdv_t) (src, int) (tag, int) (match_fun, FPtr, simix_match_func_t) (data, void*) -comm_send False (void) (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) (data, void*) (timeout, double) -comm_isend True (void*, smx_action_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) (data, void*) (detached, int) -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) (data, void*) (timeout, double) (rate, double) -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) (data, void*) (rate, double) -comm_destroy True (void) (comm, void*, smx_action_t) +comm_send False (void) (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) +comm_isend True (void*, smx_action_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) +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) +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) comm_cancel True (void) (comm, void*, smx_action_t) comm_waitany False (int) (comms, void*, xbt_dynar_t) comm_wait False (void) (comm, void*, smx_action_t) (timeout, double) @@ -87,12 +91,12 @@ comm_get_src_data True (void*) (comm, void*, smx_action_t) comm_get_dst_data True (void*) (comm, void*, smx_action_t) comm_get_src_proc True (void*, smx_process_t) (comm, void*, smx_action_t) comm_get_dst_proc True (void*, smx_process_t) (comm, void*, smx_action_t) -mutex_init True (void*, smx_mutex_t) +mutex_init True (void*, smx_mutex_t) mutex_destroy True (void) (mutex, void*, smx_mutex_t) mutex_lock False (void) (mutex, void*, smx_mutex_t) mutex_trylock True (int) (mutex, void*, smx_mutex_t) mutex_unlock True (void) (mutex, void*, smx_mutex_t) -cond_init True (void*, smx_cond_t) +cond_init True (void*, smx_cond_t) cond_destroy True (void) (cond, void*, smx_cond_t) cond_signal True (void) (cond, void*, smx_cond_t) cond_wait False (void) (cond, void*, smx_cond_t) (mutex, void*, smx_mutex_t) @@ -105,21 +109,18 @@ sem_would_block True (int) (sem, void*, smx_sem_t) sem_acquire False (void) (sem, void*, smx_sem_t) sem_acquire_timeout False (void) (sem, void*, smx_sem_t) (timeout, double) sem_get_capacity True (int) (sem, void*, smx_sem_t) -file_get_data True (void*) (fd, void*, smx_file_t) -file_set_data True (void) (fd, void*, smx_file_t) (data, void*) -file_read False (sg_size_t) (fd, void*, smx_file_t) (size, sg_size_t) -file_write False (sg_size_t) (fd, void*, smx_file_t) (size, sg_size_t) -file_open False (void*, smx_file_t) (mount, const char*) (path, const char*) -file_close False (int) (fd, void*, smx_file_t) +file_read False (sg_size_t) (fd, void*, smx_file_t) (size, sg_size_t) (host, void*, smx_host_t) +file_write False (sg_size_t) (fd, void*, smx_file_t) (size, sg_size_t) (host, void*, smx_host_t) +file_open False (void*, smx_file_t) (fullpath, const char*) (host, void*, smx_host_t) +file_close False (int) (fd, void*, smx_file_t) (host, void*, smx_host_t) file_unlink True (int) (fd, void*, smx_file_t) -file_ls False (void*, xbt_dict_t) (mount, const char*) (path, const char*) file_get_size True (sg_size_t) (fd, void*, smx_file_t) file_tell True (sg_size_t) (fd, void*, smx_file_t) file_seek True (int) (fd, void*, smx_file_t) (offset, sg_size_t) (origin, int) file_get_info True (void*, xbt_dynar_t) (fd, void*, smx_file_t) -storage_file_rename True (void) (storage, void*, smx_storage_t) (src, const char*) (dest, const char*) -storage_get_free_size True (sg_size_t) (name, const char*) -storage_get_used_size True (sg_size_t) (name, const char*) +file_move True (int) (fd, void*, smx_file_t) (fullpath, const char*) +storage_get_free_size True (sg_size_t) (storage, void*, smx_storage_t) +storage_get_used_size True (sg_size_t) (name, void*, smx_storage_t) storage_get_properties True (void*, xbt_dict_t) (storage, void*, smx_storage_t) storage_get_content True (void*, xbt_dict_t) (storage, void*, smx_storage_t) asr_get_properties True (void*, xbt_dict_t) (name, const char*) @@ -128,6 +129,6 @@ comm_is_latency_bounded True (int) (comm, void*, smx_action_t) ## HAVE_TRACING set_category True (void) (action, void*, smx_action_t) (category, const char*) ## HAVE_MC -mc_snapshot True (void*) +mc_snapshot True (void*) mc_compare_snapshots True (int) (s1, void*) (s2, void*) mc_random True (int) (min, int) (max, int)