SimGrid  3.18
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 () override
 
void updateIBfactors (NetworkAction *action, IBNode *from, IBNode *to, int remove)
 
- Public Member Functions inherited from simgrid::surf::NetworkSmpiModel
 NetworkSmpiModel ()
 
 ~NetworkSmpiModel ()
 
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...
 
- Public Member Functions inherited from simgrid::surf::NetworkCm02Model
 NetworkCm02Model ()
 
 NetworkCm02Model (void(*solve_fun)(lmm_system_t self))
 
virtual ~NetworkCm02Model ()=default
 
LinkImplcreateLink (const std::string &name, double bandwidth, double latency, e_surf_link_sharing_policy_t policy) override
 Create a Link. More...
 
void updateActionsStateLazy (double now, double delta) override
 
void updateActionsStateFull (double now, double delta) override
 
Actioncommunicate (s4u::Host *src, s4u::Host *dst, double size, double rate) override
 Create a communication between two hosts. More...
 
- Public Member Functions inherited from simgrid::surf::NetworkModel
 NetworkModel ()
 Constructor. More...
 
 ~NetworkModel () override
 Destructor. More...
 
double nextOccuringEventFull (double now) override
 
- Public Member Functions inherited from simgrid::surf::Model
 Model ()
 
virtual ~Model ()
 
virtual ActionListgetReadyActionSet () const
 Get the set of actions in ready state. More...
 
virtual ActionListgetRunningActionSet () const
 Get the set of actions in running state. More...
 
virtual ActionListgetFailedActionSet () const
 Get the set of actions in failed state. More...
 
virtual ActionListgetDoneActionSet () const
 Get the set of actions in done state. More...
 
virtual ActionLmmListPtr getModifiedSet () const
 Get the set of modified actions. More...
 
lmm_system_t getMaxminSystem () const
 Get the maxmin system of the current Model. More...
 
e_UM_t getUpdateMechanism () const
 Get the update mechanism of the current Model. More...
 
void setUpdateMechanism (e_UM_t mechanism)
 
heap_typegetActionHeap ()
 Get Action heap. More...
 
double actionHeapTopDate () const
 
ActionactionHeapPop ()
 
bool actionHeapIsEmpty () const
 
virtual double nextOccuringEvent (double now)
 Share the resources between the actions. More...
 
virtual double nextOccuringEventLazy (double now)
 
virtual void updateActionsState (double now, double delta)
 Update action to the current time. More...
 
virtual bool nextOccuringEventIsIdempotent ()
 Returns whether this model have an idempotent shareResource() More...
 

Public Attributes

std::unordered_map< std::string, IBNode * > active_nodes
 
std::unordered_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) = simgrid::kernel::lmm::lmm_solve
 Function pointer to the function to use to solve the lmm_system_t. More...
 
LinkImplloopback_ = nullptr
 

Additional Inherited Members

- Protected Attributes inherited from simgrid::surf::Model
ActionLmmListPtr modifiedSet_
 
lmm_system_t maxminSystem_ = nullptr
 
bool selectiveUpdate_
 

Constructor & Destructor Documentation

◆ NetworkIBModel() [1/2]

simgrid::surf::NetworkIBModel::NetworkIBModel ( )

◆ NetworkIBModel() [2/2]

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

◆ ~NetworkIBModel()

simgrid::surf::NetworkIBModel::~NetworkIBModel ( )
override

Member Function Documentation

◆ updateIBfactors()

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

Member Data Documentation

◆ active_nodes

std::unordered_map<std::string, IBNode*> simgrid::surf::NetworkIBModel::active_nodes

◆ active_comms

std::unordered_map<NetworkAction*, std::pair<IBNode*, IBNode*> > simgrid::surf::NetworkIBModel::active_comms

◆ Bs

double simgrid::surf::NetworkIBModel::Bs

◆ Be

double simgrid::surf::NetworkIBModel::Be

◆ ys

double simgrid::surf::NetworkIBModel::ys

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