Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add the Storage::read_async and Storage::write_async methods
[simgrid.git] / src / simix / smx_host_private.hpp
1 /* Copyright (c) 2007-2018. The SimGrid Team. All rights reserved.          */
2
3 /* This program is free software; you can redistribute it and/or modify it
4  * under the terms of the license (GNU LGPL) which comes with this package. */
5
6 #ifndef SIMIX_HOST_PRIVATE_HPP
7 #define SIMIX_HOST_PRIVATE_HPP
8
9 #include "src/simix/ActorImpl.hpp"
10
11 #include <boost/intrusive/list.hpp>
12
13 XBT_PRIVATE void SIMIX_host_add_auto_restart_process(sg_host_t host, simgrid::kernel::actor::ActorImpl* actor);
14 XBT_PRIVATE void SIMIX_host_autorestart(sg_host_t host);
15
16 XBT_PRIVATE void SIMIX_execution_finish(smx_activity_t synchro);
17
18 XBT_PRIVATE void SIMIX_set_category(smx_activity_t synchro, std::string category);
19
20 XBT_PRIVATE simgrid::kernel::activity::ExecImplPtr SIMIX_execution_start(std::string name, std::string category,
21                                                                          double flops_amount, double priority,
22                                                                          double bound, sg_host_t host);
23 XBT_PRIVATE simgrid::kernel::activity::ExecImplPtr
24 SIMIX_execution_parallel_start(std::string name, int host_nb, sg_host_t* host_list, double* flops_amount,
25                                double* bytes_amount, double rate, double timeout);
26
27 #endif