|
| | NetworkModel () |
| | Constructor. More...
|
| |
| | ~NetworkModel () |
| | Destructor. More...
|
| |
| virtual Link * | createLink (const char *name, double bandwidth, double latency, e_surf_link_sharing_policy_t policy, xbt_dict_t properties)=0 |
| | Create a Link. More...
|
| |
| virtual Action * | communicate (NetCard *src, NetCard *dst, double size, double rate)=0 |
| | Create a communication between two hosts. 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 | next_occuring_event_full (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 | next_occuring_event (double now) |
| | Share the resources between the actions. More...
|
| |
| virtual double | next_occuring_event_lazy (double now) |
| |
| double | shareResourcesMaxMin (ActionList *running_actions, lmm_system_t sys, void(*solve)(lmm_system_t)) |
| |
| virtual void | updateActionsState (double now, double delta) |
| | Update action to the current time. More...
|
| |
| virtual void | updateActionsStateLazy (double now, double delta) |
| |
| virtual void | updateActionsStateFull (double now, double delta) |
| |
| virtual bool | next_occuring_event_isIdempotent ()=0 |
| | Returns whether this model have an idempotent shareResource() More...
|
| |
SURF network model interface class.
A model is an object which handles the interactions between its Resources and its Actions
| double simgrid::surf::NetworkModel::latencyFactor |
( |
double |
size | ) |
|
|
virtual |
Get the right multiplicative factor for the latency.
Depending on the model, the effective latency when sending a message might be different from the theoretical latency of the link, in function of the message size. In order to account for this, this function gets this factor.
- Parameters
-
| size | The size of the message. |
- Returns
- The latency factor.
Reimplemented in simgrid::surf::NetworkSmpiModel.
| double simgrid::surf::NetworkModel::bandwidthFactor |
( |
double |
size | ) |
|
|
virtual |
Get the right multiplicative factor for the bandwidth.
Depending on the model, the effective bandwidth when sending a message might be different from the theoretical bandwidth of the link, in function of the message size. In order to account for this, this function gets this factor.
- Parameters
-
| size | The size of the message. |
- Returns
- The bandwidth factor.
Reimplemented in simgrid::surf::NetworkSmpiModel.