Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[simix] Remove SIMIX_process_create_from_wrapper()
[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 namespace simgrid {
12   namespace surf {
13
14     class XBT_PRIVATE NetworkSmpiModel : public NetworkCm02Model {
15     public:
16       NetworkSmpiModel();
17       ~NetworkSmpiModel();
18
19       using NetworkCm02Model::gapAppend; // Explicit about overloaded method (silence Woverloaded-virtual from clang)
20       void gapAppend(double size, Link* link, NetworkAction *action);
21       void gapRemove(Action *action);
22       double latencyFactor(double size);
23       double bandwidthFactor(double size);
24       double bandwidthConstraint(double rate, double bound, double size);
25       void communicateCallBack() {};
26     };
27   }
28 }