SimGrid  3.13
Versatile Simulation of Distributed Systems
simgrid::surf::NetworkIBModel Class Reference

#include <network_ib.hpp>

Inheritance diagram for simgrid::surf::NetworkIBModel:
simgrid::surf::NetworkSmpiModel simgrid::surf::NetworkCm02Model simgrid::surf::NetworkModel simgrid::surf::Model

Public Member Functions

 NetworkIBModel ()
 
 NetworkIBModel (const char *name)
 
 ~NetworkIBModel ()
 
void updateIBfactors (NetworkAction *action, IBNode *from, IBNode *to, int remove)
 
- Public Member Functions inherited from simgrid::surf::NetworkSmpiModel
 NetworkSmpiModel ()
 
 ~NetworkSmpiModel ()
 
void gapAppend (double size, Link *link, NetworkAction *action)
 
void gapRemove (Action *action)
 
double latencyFactor (double size)
 Get the right multiplicative factor for the latency. More...
 
double bandwidthFactor (double size)
 Get the right multiplicative factor for the bandwidth. More...
 
double bandwidthConstraint (double rate, double bound, double size)
 Get definitive bandwidth. More...
 
void communicateCallBack ()
 
- Public Member Functions inherited from simgrid::surf::NetworkCm02Model
 NetworkCm02Model ()
 
 ~NetworkCm02Model ()
 
LinkcreateLink (const char *name, double bandwidth, double latency, e_surf_link_sharing_policy_t policy, xbt_dict_t properties) override
 Create a Link. More...
 
void updateActionsStateLazy (double now, double delta) override
 
void updateActionsStateFull (double now, double delta) override
 
Actioncommunicate (NetCard *src, NetCard *dst, double size, double rate) override
 Create a communication between two hosts. More...
 
bool next_occuring_event_isIdempotent () override
 Returns whether this model have an idempotent shareResource() More...
 
virtual void gapAppend (double, const Link *, NetworkAction *)
 
- Public Member Functions inherited from simgrid::surf::NetworkModel
 NetworkModel ()
 Constructor. More...
 
 ~NetworkModel ()
 Destructor. More...
 
double next_occuring_event_full (double now) override
 
- Public Member Functions inherited from simgrid::surf::Model
 Model ()
 
virtual ~Model ()
 
virtual ActionListgetReadyActionSet ()
 Get the set of actions in ready state. More...
 
virtual ActionListgetRunningActionSet ()
 Get the set of actions in running state. More...
 
virtual ActionListgetFailedActionSet ()
 Get the set of actions in failed state. More...
 
virtual ActionListgetDoneActionSet ()
 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...
 

Public Attributes

xbt_dict_t active_nodes
 
std::map< NetworkAction *, std::pair< IBNode *, IBNode * > > active_comms
 
double Bs
 
double Be
 
double ys
 
- Public Attributes inherited from simgrid::surf::NetworkModel
void(* f_networkSolve )(lmm_system_t) = lmm_solve
 Function pointer to the function to use to solve the lmm_system_t. More...
 

Additional Inherited Members

- Protected Attributes inherited from simgrid::surf::NetworkCm02Model
bool haveGap_ = false
 
- Protected Attributes inherited from simgrid::surf::Model
ActionLmmListPtr modifiedSet_
 
lmm_system_t maxminSystem_ = nullptr
 
e_UM_t updateMechanism_ = UM_UNDEFINED
 
int selectiveUpdate_
 
xbt_heap_t actionHeap_
 

Constructor & Destructor Documentation

simgrid::surf::NetworkIBModel::NetworkIBModel ( )
simgrid::surf::NetworkIBModel::NetworkIBModel ( const char *  name)
simgrid::surf::NetworkIBModel::~NetworkIBModel ( )

Member Function Documentation

void simgrid::surf::NetworkIBModel::updateIBfactors ( NetworkAction action,
IBNode from,
IBNode to,
int  remove 
)

Member Data Documentation

xbt_dict_t simgrid::surf::NetworkIBModel::active_nodes
std::map<NetworkAction *, std::pair<IBNode*,IBNode*> > simgrid::surf::NetworkIBModel::active_comms
double simgrid::surf::NetworkIBModel::Bs
double simgrid::surf::NetworkIBModel::Be
double simgrid::surf::NetworkIBModel::ys

The documentation for this class was generated from the following files: