Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
22aec6d730304ab6c0125e502b4ee2b943088c5e
[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 boost::intrusive_ptr<simgrid::kernel::activity::ExecImpl>
21 SIMIX_execution_start(std::string name, std::string category, double flops_amount, double priority, double bound,
22                       sg_host_t host);
23 XBT_PRIVATE boost::intrusive_ptr<simgrid::kernel::activity::ExecImpl>
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