Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
this writeActions stuff was never used
[simgrid.git] / src / smpi / SmpiHost.hpp
index fe810d3..a3667fe 100644 (file)
@@ -1,15 +1,18 @@
+/* Copyright (c) 2017. 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 SMPI_HOST_HPP_
 #define SMPI_HOST_HPP_
 
 #include "src/include/smpi/smpi_utils.hpp"
 
-#include <simgrid/s4u/host.hpp>
+#include "simgrid/s4u/Host.hpp"
 #include <string>
 #include <vector>
-#include <xbt/config.hpp>
 #include <xbt/Extendable.hpp>
-
-
+#include <xbt/config.hpp>
 
 namespace simgrid {
 namespace smpi {
@@ -22,6 +25,8 @@ class SmpiHost {
 
   private:
   std::vector<s_smpi_factor_t> orecv_parsed_values;
+  std::vector<s_smpi_factor_t> osend_parsed_values;
+  std::vector<s_smpi_factor_t> oisend_parsed_values;
   simgrid::s4u::Host *host = nullptr;
 
   public:
@@ -30,12 +35,9 @@ class SmpiHost {
   explicit SmpiHost(simgrid::s4u::Host *ptr);
   ~SmpiHost();
 
-  double wtime;
-  double osend;
-  double oisend;
-  std::string orecv_;
   double orecv(size_t size);
-
+  double osend(size_t size);
+  double oisend(size_t size);
 };
 
 }