X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/533b09bd161a7a8bef036a14bbcb8793286b9d9f..5e7d79b763a5f55d1afb579d2b5a8d30ccfe869c:/src/simix/smx_host_private.hpp diff --git a/src/simix/smx_host_private.hpp b/src/simix/smx_host_private.hpp index b90f1896ed..00f681a180 100644 --- a/src/simix/smx_host_private.hpp +++ b/src/simix/smx_host_private.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2017. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-2018. 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. */ @@ -31,11 +31,12 @@ public: explicit Host(); virtual ~Host(); - boost::intrusive::list, - &ActorImpl::host_process_list_hook>> + boost::intrusive::list, + &kernel::actor::ActorImpl::host_process_list_hook>> process_list; - std::vector auto_restart_processes; - std::vector boot_processes; + std::vector auto_restart_processes; + std::vector boot_processes; void turnOn(); }; @@ -49,14 +50,13 @@ XBT_PRIVATE void SIMIX_host_add_auto_restart_process(sg_host_t host, const char* XBT_PRIVATE void SIMIX_host_autorestart(sg_host_t host); -XBT_PRIVATE void SIMIX_execution_finish(simgrid::kernel::activity::ExecImplPtr exec); +XBT_PRIVATE void SIMIX_execution_finish(smx_activity_t synchro); XBT_PRIVATE void SIMIX_set_category(smx_activity_t synchro, const char* category); } XBT_PRIVATE boost::intrusive_ptr -SIMIX_execution_start(smx_actor_t issuer, const char* name, double flops_amount, double priority, double bound, - sg_host_t host); +SIMIX_execution_start(const char* name, double flops_amount, double priority, double bound, sg_host_t host); XBT_PRIVATE boost::intrusive_ptr SIMIX_execution_parallel_start(const char* name, int host_nb, sg_host_t* host_list, double* flops_amount, double* bytes_amount, double rate, double timeout);