X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e8e45482e5bc7f26685b40e12884e8bab8f0fab8..e195a28b546de45d49c8ab08f18da1da136a2454:/src/smpi/SmpiHost.hpp diff --git a/src/smpi/SmpiHost.hpp b/src/smpi/SmpiHost.hpp index 1d6daa5cad..a3667fe8ea 100644 --- a/src/smpi/SmpiHost.hpp +++ b/src/smpi/SmpiHost.hpp @@ -1,14 +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 +#include "simgrid/s4u/Host.hpp" #include #include #include - - +#include namespace simgrid { namespace smpi { @@ -21,6 +25,8 @@ class SmpiHost { private: std::vector orecv_parsed_values; + std::vector osend_parsed_values; + std::vector oisend_parsed_values; simgrid::s4u::Host *host = nullptr; public: @@ -29,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); }; }