Commit 4cfc6c03 authored by Scott Vokes's avatar Scott Vokes
Browse files

Add log message that bookends request send, for timing information.

parent 29e5999f
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -281,7 +281,10 @@ bool bus_send_request(struct bus *b, bus_user_msg *msg)
    struct sender *s = b->senders[s_id];

    BUS_LOG(b, 3, LOG_SENDING_REQUEST, "Sending request...", b->udata);
    return sender_send_request(s, box);
    bool res = sender_send_request(s, box);
    BUS_LOG_SNPRINTF(b, 3, LOG_SENDING_REQUEST, b->udata, 64,
        "...request sent, result %d", res);
    return res;
}

static bool poll_on_completion(struct bus *b, int fd) {