SimGrid  3.14.159
Versatile Simulation of Distributed Systems
HostImpl.cpp File Reference
#include "src/surf/HostImpl.hpp"
#include "src/plugins/vm/VirtualMachineImpl.hpp"

Namespaces

 simgrid
 Host datatype from SIMIX POV.
 
 simgrid::surf
 

Macros

#define cost_or_zero(array, pos)   ((array)?(array)[pos]:0.0)
 

Functions

 XBT_LOG_NEW_DEFAULT_SUBCATEGORY (surf_host, surf, "Logging specific to the SURF host module")
 

Variables

simgrid::surf::HostModelsurf_host_model = nullptr
 The host model. More...
 

Macro Definition Documentation

◆ cost_or_zero

#define cost_or_zero (   array,
  pos 
)    ((array)?(array)[pos]:0.0)

Function Documentation

◆ XBT_LOG_NEW_DEFAULT_SUBCATEGORY()

XBT_LOG_NEW_DEFAULT_SUBCATEGORY ( surf_host  ,
surf  ,
"Logging specific to the SURF host module"   
)