I was remembering of some sort of problems with MC.
/************
* Resource *
************/
/************
* Resource *
************/
-
-
-void HostImpl::classInit()
-{
-}
-
HostImpl::HostImpl(simgrid::surf::HostModel *model, const char *name, xbt_dynar_t storage, Cpu *cpu)
: Resource(model, name)
, PropertyHolder(nullptr)
HostImpl::HostImpl(simgrid::surf::HostModel *model, const char *name, xbt_dynar_t storage, Cpu *cpu)
: Resource(model, name)
, PropertyHolder(nullptr)
static simgrid::xbt::Extension<simgrid::s4u::Host, HostImpl> EXTENSION_ID;
public:
static simgrid::xbt::Extension<simgrid::s4u::Host, HostImpl> EXTENSION_ID;
public:
- static void classInit(); // must be called before the first use of that class
/**
* @brief Host constructor
*
/**
* @brief Host constructor
*
});
XBT_DEBUG("Add SURF levels");
});
XBT_DEBUG("Add SURF levels");
- simgrid::surf::HostImpl::classInit();
SURF_STORAGE_LEVEL = xbt_lib_add_level(storage_lib,surf_storage_free);
xbt_init(argc, argv);
SURF_STORAGE_LEVEL = xbt_lib_add_level(storage_lib,surf_storage_free);
xbt_init(argc, argv);