Commit 54acab18 authored by Shane Snyder's avatar Shane Snyder
Browse files

formatting updates

parent e2eeadd1
......@@ -350,7 +350,7 @@ static void lookup_ult(void *arg)
l->out = margo_addr_lookup(s->mid, l->addr_str,
&s->view.member_states[l->rank].addr);
if(l->out != HG_SUCCESS)
SSG_DEBUG(s, "look up on rank %d failed [%d]\n", l->rank, l->out);
SSG_DEBUG(s, "look up on member %d failed [%d]\n", l->rank, l->out);
}
static hg_return_t ssg_lookup(ssg_t s, char **addr_strs)
......
......@@ -24,7 +24,7 @@ with open(swim_log, 'rU') as f:
fields = line.split(" ")
ts = float(fields[0])
member = int(fields[1][1:-2])
member = int(fields[1][1:-2])
update = fields[2:]
# FIXME
......@@ -34,8 +34,8 @@ with open(swim_log, 'rU') as f:
# FIXME
if update[0] != "swim" or update[1] != "member":
continue
target_member = int(update[2])
target_member_status = update[3]
target_member = int(update[2])
target_member_status = update[3]
if target_member not in member_info:
member_info[target_member] = MemberInfo()
......@@ -61,4 +61,4 @@ for member in member_info:
print "\tfail time = %f" % member_info[member].fail_ts
print "\tfirst suspect time = %f" % member_info[member].first_suspect_ts
print "\tfirst dead time = %f" % member_info[member].first_dead_ts
print "\tlast dead time = %f (%d)" % (member_info[member].first_dead_ts, member_info[member].dead_update_count)
print "\tlast dead time = %f (%d)" % (member_info[member].last_dead_ts, member_info[member].dead_update_count)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment