simgrid::instr::Type::Type(const char* typeNameBuff, const char* key, const char* color, e_entity_types kind,
Type* father)
+ : kind_(kind), father_(father)
{
if (typeNameBuff == nullptr || key == nullptr){
THROWF(tracing_error, 0, "can't create a new type with name or key equal nullptr");
}
this->name_ = xbt_strdup(typeNameBuff);
- this->father_ = father;
- this->kind_ = kind;
this->children_ = xbt_dict_new_homogeneous(nullptr);
this->values_ = xbt_dict_new_homogeneous(nullptr);
this->color_ = xbt_strdup(color);
#include "src/internal_config.h"
#include <set>
-SG_BEGIN_DECL()
-
/* Need to define function drand48 for Windows */
/* FIXME: use _drand48() defined in src/surf/random_mgr.c instead */
#ifdef _WIN32
} // namespace simgrid::instr
typedef simgrid::instr::s_container* container_t;
+SG_BEGIN_DECL()
+
extern XBT_PRIVATE std::set<std::string> created_categories;
extern XBT_PRIVATE std::set<std::string> declared_marks;
extern XBT_PRIVATE std::set<std::string> user_host_variables;