1 /* Copyright (c) 2007-2018. The SimGrid Team. All rights reserved. */
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. */
6 #ifndef SIMIX_HOST_PRIVATE_HPP
7 #define SIMIX_HOST_PRIVATE_HPP
9 #include "src/simix/ActorImpl.hpp"
11 #include <boost/intrusive/list.hpp>
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);
16 XBT_PRIVATE void SIMIX_execution_finish(smx_activity_t synchro);
18 XBT_PRIVATE void SIMIX_set_category(smx_activity_t synchro, const char* category);
20 XBT_PRIVATE boost::intrusive_ptr<simgrid::kernel::activity::ExecImpl>
21 SIMIX_execution_start(const char* name, double flops_amount, double priority, double bound, sg_host_t host);
22 XBT_PRIVATE boost::intrusive_ptr<simgrid::kernel::activity::ExecImpl>
23 SIMIX_execution_parallel_start(const char* name, int host_nb, sg_host_t* host_list, double* flops_amount,
24 double* bytes_amount, double rate, double timeout);