Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
6d7bd4462a311b317436aad20cb41f1b89af9bbe
[simgrid.git] / src / surf / network_smpi.hpp
1 /* Copyright (c) 2013-2014. 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 "network_cm02.hpp"
8
9 /***********
10  * Classes *
11  ***********/
12
13 class NetworkSmpiModel;
14
15 /*********
16  * Tools *
17  *********/
18
19 /*********
20  * Model *
21  *********/
22
23 class NetworkSmpiModel : public NetworkCm02Model {
24 public:
25   NetworkSmpiModel();
26   ~NetworkSmpiModel();
27
28   void gapAppend(double size, Link* link, NetworkAction *action);
29   void gapRemove(Action *action);
30   double latencyFactor(double size);
31   double bandwidthFactor(double size);
32   double bandwidthConstraint(double rate, double bound, double size);
33   void communicateCallBack() {};
34 };
35
36
37 /************
38  * Resource *
39  ************/
40
41
42 /**********
43  * Action *
44  **********/
45
46
47