#include <network_constant.hpp>
|
Action * | communicate (simgrid::s4u::Host *src, simgrid::s4u::Host *dst, double size, double rate) override |
| Create a communication between two hosts. More...
|
|
double | nextOccuringEvent (double now) override |
| Share the resources between the actions. More...
|
|
void | updateActionsState (double now, double delta) override |
| Update action to the current time. More...
|
|
LinkImpl * | createLink (const char *name, double bw, double lat, e_surf_link_sharing_policy_t policy) override |
| Create a Link. More...
|
|
| NetworkModel () |
| Constructor. More...
|
|
| ~NetworkModel () override |
| Destructor. More...
|
|
virtual double | latencyFactor (double size) |
| Get the right multiplicative factor for the latency. More...
|
|
virtual double | bandwidthFactor (double size) |
| Get the right multiplicative factor for the bandwidth. More...
|
|
virtual double | bandwidthConstraint (double rate, double bound, double size) |
| Get definitive bandwidth. More...
|
|
double | nextOccuringEventFull (double now) override |
|
| Model () |
|
virtual | ~Model () |
|
virtual ActionList * | getReadyActionSet () |
| Get the set of actions in ready state. More...
|
|
virtual ActionList * | getRunningActionSet () |
| Get the set of actions in running state. More...
|
|
virtual ActionList * | getFailedActionSet () |
| Get the set of actions in failed state. More...
|
|
virtual ActionList * | getDoneActionSet () |
| Get the set of actions in done state. More...
|
|
virtual ActionLmmListPtr | getModifiedSet () |
| Get the set of modified actions. More...
|
|
lmm_system_t | getMaxminSystem () |
| Get the maxmin system of the current Model. More...
|
|
e_UM_t | getUpdateMechanism () |
| Get the update mechanism of the current Model. More...
|
|
xbt_heap_t | getActionHeap () |
| Get Action heap. More...
|
|
virtual double | nextOccuringEventLazy (double now) |
|
virtual void | updateActionsStateLazy (double now, double delta) |
|
virtual void | updateActionsStateFull (double now, double delta) |
|
virtual bool | nextOccuringEventIsIdempotent () |
| Returns whether this model have an idempotent shareResource() More...
|
|
◆ communicate()
Create a communication between two hosts.
It makes calls to the routing part, and execute the communication between the two end points.
- Parameters
-
src | The source of the communication |
dst | The destination of the communication |
size | The size of the communication in bytes |
rate | Allows to limit the transfer rate. Negative value means unlimited. |
- Returns
- The action representing the communication
Implements simgrid::surf::NetworkModel.
◆ nextOccuringEvent()
double simgrid::surf::NetworkConstantModel::nextOccuringEvent |
( |
double |
now | ) |
|
|
overridevirtual |
Share the resources between the actions.
- Parameters
-
now | The current time of the simulation |
- Returns
- The delta of time till the next action will finish
Reimplemented from simgrid::surf::Model.
◆ updateActionsState()
void simgrid::surf::NetworkConstantModel::updateActionsState |
( |
double |
now, |
|
|
double |
delta |
|
) |
| |
|
overridevirtual |
Update action to the current time.
- Parameters
-
now | The current time of the simulation |
delta | The delta of time since the last update |
Reimplemented from simgrid::surf::Model.
◆ createLink()
Create a Link.
- Parameters
-
name | The name of the Link |
bandwidth | The initial bandwidth of the Link in bytes per second |
latency | The initial latency of the Link in seconds |
policy | The sharing policy of the Link |
Implements simgrid::surf::NetworkModel.
The documentation for this class was generated from the following files: