]> AND Public Git Repository - simgrid.git/blobdiff - src/smpi/include/smpi_host.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Disable MC stateful API when not running in MC
[simgrid.git] / src / smpi / include / smpi_host.hpp
index 938ee868cec6c16ff868a748dfdd25cc21c55fdc..503df80ee0fcfccc65b9afbb10b79d763b803bea 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2017-2022. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2017-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. */
@@ -35,9 +35,9 @@ public:
 
   explicit Host(s4u::Host* ptr);
 
-  double orecv(size_t size, s4u::Host* src, s4u::Host* dst);
-  double osend(size_t size, s4u::Host* src, s4u::Host* dst);
-  double oisend(size_t size, s4u::Host* src, s4u::Host* dst);
+  double orecv(size_t size, s4u::Host* src, s4u::Host* dst) const;
+  double osend(size_t size, s4u::Host* src, s4u::Host* dst) const;
+  double oisend(size_t size, s4u::Host* src, s4u::Host* dst) const;
 };
 
 } // namespace simgrid::smpi