Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Default is not to use sleep-set to agree with existing tests
[simgrid.git] / src / surf / network_constant.hpp
index 229043a..ec9f384 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2022. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2013-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. */
@@ -13,7 +13,7 @@ namespace simgrid::kernel::resource {
 class NetworkConstantModel : public NetworkModel {
 public:
   using NetworkModel::NetworkModel;
-  Action* communicate(s4u::Host* src, s4u::Host* dst, double size, double rate) override;
+  Action* communicate(s4u::Host* src, s4u::Host* dst, double size, double rate, bool streamed) override;
   double next_occurring_event(double now) override;
   void update_actions_state(double now, double delta) override;
 
@@ -24,7 +24,7 @@ public:
 class NetworkConstantAction final : public NetworkAction {
 public:
   NetworkConstantAction(NetworkConstantModel* model_, s4u::Host& src, s4u::Host& dst, double size);
-  void update_remains_lazy(double now) override;
+  XBT_ATTRIB_NORETURN void update_remains_lazy(double now) override;
 };
 
 } // namespace simgrid::kernel::resource