Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix a doc error about actors (Tutorial_algorithms)
[simgrid.git] / src / surf / network_smpi.hpp
1 /* Copyright (c) 2013-2019. The SimGrid Team.
2  * All rights reserved.                                                     */
3
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. */
6
7 #include <xbt/base.h>
8
9 #include "network_cm02.hpp"
10
11 namespace simgrid {
12 namespace kernel {
13 namespace resource {
14
15 class XBT_PRIVATE NetworkSmpiModel : public NetworkCm02Model {
16 public:
17   NetworkSmpiModel();
18   ~NetworkSmpiModel() = default;
19
20   double get_latency_factor(double size);
21   double get_bandwidth_factor(double size);
22   double get_bandwidth_constraint(double rate, double bound, double size);
23 };
24 } // namespace resource
25 } // namespace kernel
26 }