Skip to content

Commit

Permalink
Minor instrumentation changes
Browse files Browse the repository at this point in the history
  • Loading branch information
johnousterhout committed Jan 5, 2024
1 parent d530c36 commit 6e462e1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions homa_incoming.c
Original file line number Diff line number Diff line change
Expand Up @@ -628,9 +628,10 @@ void homa_grant_pkt(struct sk_buff *skb, struct homa_rpc *rpc)
{
struct grant_header *h = (struct grant_header *) skb->data;

tt_record3("processing grant for id %llu, offset %d, priority %d",
tt_record4("processing grant for id %llu, offset %d, priority %d, "
"resend_all %d",
homa_local_id(h->common.sender_id), ntohl(h->offset),
h->priority);
h->priority, h->resend_all);
if (rpc->state == RPC_OUTGOING) {
int new_offset = ntohl(h->offset);

Expand Down Expand Up @@ -999,8 +1000,8 @@ void homa_send_grants(struct homa *homa)
return;
}

start = get_cycles();
homa_grantable_lock(homa);
start = get_cycles();

num_rpcs = homa_choose_rpcs_to_grant(homa, rpcs, homa->max_overcommit);

Expand Down

0 comments on commit 6e462e1

Please sign in to comment.