1 /* Copyright (c) 2017-2018. The SimGrid Team. All rights reserved. */
3 /* This program is free software; you can redistribute it and/or modify it
4 * under the terms of the license (GNU LGPL) which comes with this package. */
9 #include "smpi_utils.hpp"
11 #include "simgrid/s4u/Host.hpp"
14 #include <xbt/Extendable.hpp>
22 std::vector<s_smpi_factor_t> orecv_parsed_values;
23 std::vector<s_smpi_factor_t> osend_parsed_values;
24 std::vector<s_smpi_factor_t> oisend_parsed_values;
25 simgrid::s4u::Host *host = nullptr;
28 static simgrid::xbt::Extension<simgrid::s4u::Host, SmpiHost> EXTENSION_ID;
30 explicit SmpiHost(simgrid::s4u::Host *ptr);
33 double orecv(size_t size);
34 double osend(size_t size);
35 double oisend(size_t size);