Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
a27ef04fb9b7fe60189893885309e48b4eaa967c
[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 typedef NetworkSmpiModel *NetworkSmpiModelPtr;
15
16 /*********
17  * Tools *
18  *********/
19
20 /*********
21  * Model *
22  *********/
23
24 class NetworkSmpiModel : public NetworkCm02Model {
25 public:
26   NetworkSmpiModel();
27   ~NetworkSmpiModel();
28
29   void gapAppend(double size, const NetworkLinkPtr link, NetworkActionPtr action);
30   void gapRemove(ActionPtr action);
31   double latencyFactor(double size);
32   double bandwidthFactor(double size);
33   double bandwidthConstraint(double rate, double bound, double size);
34   void communicateCallBack() {};
35 };
36
37
38 /************
39  * Resource *
40  ************/
41
42
43 /**********
44  * Action *
45  **********/
46
47
48