1 /* Copyright (c) 2013-2022. The SimGrid Team.
2 * All rights reserved. */
4 /* This program is free software; you can redistribute it and/or modify it
5 * under the terms of the license (GNU LGPL) which comes with this package. */
7 #ifndef SIMGRID_SURF_NETWORK_SMPI_HPP
8 #define SIMGRID_SURF_NETWORK_SMPI_HPP
12 #include "network_cm02.hpp"
14 namespace simgrid::kernel::resource {
16 class XBT_PRIVATE NetworkSmpiModel : public NetworkCm02Model {
18 using NetworkCm02Model::NetworkCm02Model;
20 double get_latency_factor(double size) override;
21 double get_bandwidth_factor(double size) override;
24 void check_lat_factor_cb() override;
25 void check_bw_factor_cb() override;
27 } // namespace simgrid::kernel::resource