X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b3a19f2cc0136088a395b37f4a9cfd9578815f06..122a5a2813fd6d64d4db8ee7f1fdb5a62b7e0d6a:/src/kernel/resource/WifiLinkImpl.hpp diff --git a/src/kernel/resource/WifiLinkImpl.hpp b/src/kernel/resource/WifiLinkImpl.hpp index ad08b6c3ed..969eeeb260 100644 --- a/src/kernel/resource/WifiLinkImpl.hpp +++ b/src/kernel/resource/WifiLinkImpl.hpp @@ -1,13 +1,13 @@ -/* Copyright (c) 2019-2022. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2019-2023. 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. */ -#ifndef SURF_NETWORK_WIFI_HPP_ -#define SURF_NETWORK_WIFI_HPP_ +#ifndef SIMGRID_KERNEL_NETWORK_WIFI_HPP_ +#define SIMGRID_KERNEL_NETWORK_WIFI_HPP_ -#include "src/surf/network_cm02.hpp" -#include "xbt/base.h" +#include "src/kernel/resource/models/network_cm02.hpp" +#include "xbt/ex.h" /*********** * Classes * @@ -53,9 +53,7 @@ public: void set_latency(double) override; bool toggle_callback(); - static void update_bw_comm_start(const kernel::activity::CommImpl&); - static void update_bw_comm_end(const simgrid::kernel::resource::NetworkAction& action, - simgrid::kernel::resource::Action::State state); + static void update_bw_comm_end(const NetworkAction& action, Action::State state); void inc_active_flux(); void dec_active_flux(); static double wifi_link_dynamic_sharing(const WifiLinkImpl& link, double capacity, int n);