4 XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(proc); // needed to compile neighbor.h
10 neighbor::neighbor(const char* hostname)
11 : host(static_cast<hostdata*>
12 (MSG_host_get_data(MSG_get_host_by_name(hostname))))
13 , load(std::numeric_limits<double>::infinity())
24 void neighbor::print(bool verbose,
25 e_xbt_log_priority_t logp, xbt_log_category_t cat) const
29 "%s: load = %g ; debt = %g ; credit = %g ; to_send = %g",
30 get_name(), get_load(), get_debt(), get_credit(),
33 XBT_XCLOG(cat, logp, "%s: load = %g", get_name(), get_load());