Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'S4U'
[simgrid.git] / src / surf / network_smpi.hpp
1 /* Copyright (c) 2013-2015. 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 /***********
12  * Classes *
13  ***********/
14
15 class XBT_PRIVATE NetworkSmpiModel;
16
17 /*********
18  * Tools *
19  *********/
20
21 /*********
22  * Model *
23  *********/
24
25 class NetworkSmpiModel : public NetworkCm02Model {
26 public:
27   NetworkSmpiModel();
28   ~NetworkSmpiModel();
29
30   using NetworkModel::gapAppend; // Explicit about overloaded method (silence Woverloaded-virtual from clang)
31   void gapAppend(double size, Link* link, NetworkAction *action);
32   void gapRemove(Action *action);
33   double latencyFactor(double size);
34   double bandwidthFactor(double size);
35   double bandwidthConstraint(double rate, double bound, double size);
36   void communicateCallBack() {};
37 };
38
39
40 /************
41  * Resource *
42  ************/
43
44
45 /**********
46  * Action *
47  **********/
48
49
50