4 XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(proc); // needed to compile neighbor.h
10 neighbor::neighbor(const char* hostname)
11 : host(static_cast<hostdata*>(MSG_host_get_data(MSG_get_host_by_name(hostname))))
12 , load(std::numeric_limits<double>::infinity())
22 void neighbor::print(bool verbose,
23 e_xbt_log_priority_t logp, xbt_log_category_t cat) const
26 XCLOG4(cat, logp, "%s: load = %g ; debt = %g ; to_send = %g",
27 get_name(), get_load(), get_debt(), get_to_send());
29 XCLOG2(cat, logp, "%s: load = %g", get_name(), get_load());