X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/936d213bbf44dbbcdfdadd3f0a777cb5af9407b8..cc4ca208c5e056ac569cd07e08f09a416f3606fe:/src/simix/simcalls.in diff --git a/src/simix/simcalls.in b/src/simix/simcalls.in index 3a6cc0f0af..b2425c02a4 100644 --- a/src/simix/simcalls.in +++ b/src/simix/simcalls.in @@ -1,4 +1,4 @@ -# Copyright (c) 2014-2016. The SimGrid Team. All rights reserved. +# Copyright (c) 2014-2017. 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. @@ -35,19 +35,16 @@ # Last but not the least, you should declare the new simix call in # ./include/simgrid/simix.h (otherwise you will get a warning at compile time) -void process_kill(smx_actor_t process); void process_killall(int reset_pid); void process_cleanup(smx_actor_t process) [[nohandler]]; void process_suspend(smx_actor_t process) [[block]]; int process_join(smx_actor_t process, double timeout) [[block]]; int process_sleep(double duration) [[block]]; -boost::intrusive_ptr execution_start(const char* name, double flops_amount, double priority, double bound); +boost::intrusive_ptr execution_start(const char* name, double flops_amount, double priority, double bound, sg_host_t host); boost::intrusive_ptr execution_parallel_start(const char* name, int host_nb, sg_host_t* host_list, double* flops_amount, double* bytes_amount, double rate, double timeout) [[nohandler]]; -void execution_cancel(boost::intrusive_ptr execution) [[nohandler]]; -void execution_set_priority(boost::intrusive_ptr execution, double priority) [[nohandler]]; -void execution_set_bound(boost::intrusive_ptr execution, double bound) [[nohandler]]; int execution_wait(boost::intrusive_ptr execution) [[block]]; +int execution_test(boost::intrusive_ptr execution) [[block]]; void process_on_exit(smx_actor_t process, int_f_pvoid_pvoid_t fun, void* data) [[nohandler]]; @@ -74,8 +71,8 @@ void cond_broadcast(smx_cond_t cond) [[nohandler]]; void sem_acquire(smx_sem_t sem) [[block]]; void sem_acquire_timeout(smx_sem_t sem, double timeout) [[block]]; -sg_size_t file_read(surf_file_t fd, sg_size_t size) [[block]]; -sg_size_t file_write(surf_file_t fd, sg_size_t size) [[block]]; +sg_size_t storage_read(surf_storage_t st, sg_size_t size) [[block]]; +sg_size_t storage_write(surf_storage_t st, sg_size_t size) [[block]]; int mc_random(int min, int max); void set_category(boost::intrusive_ptr synchro, const char* category) [[nohandler]];