Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
merge extension<simgrid::simix::Host>() into HostImpl
[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 <boost/intrusive/list.hpp>
10 #include <functional>
11 #include <unordered_map>
12 #include <vector>
13
14 #include "src/simix/ActorImpl.hpp"
15 #include "src/simix/popping_private.hpp"
16 #include "xbt/Extendable.hpp"
17
18 XBT_PRIVATE void SIMIX_host_add_auto_restart_process(sg_host_t host, simgrid::kernel::actor::ActorImpl* actor);
19 XBT_PRIVATE void SIMIX_host_autorestart(sg_host_t host);
20
21 XBT_PRIVATE void SIMIX_execution_finish(smx_activity_t synchro);
22
23 XBT_PRIVATE void SIMIX_set_category(smx_activity_t synchro, const char* category);
24
25 XBT_PRIVATE boost::intrusive_ptr<simgrid::kernel::activity::ExecImpl>
26 SIMIX_execution_start(const char* name, double flops_amount, double priority, double bound, sg_host_t host);
27 XBT_PRIVATE boost::intrusive_ptr<simgrid::kernel::activity::ExecImpl>
28 SIMIX_execution_parallel_start(const char* name, int host_nb, sg_host_t* host_list, double* flops_amount,
29                                double* bytes_amount, double rate, double timeout);
30
31 #endif