Commit 59abd0fd authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

dist/common: add last_sent_pos for debugging

parent aeec71c3
......@@ -97,6 +97,7 @@ bool NetPeerAdd(const char *path, bool dev) {
peer->is_dev = dev;
peer->sock_fd = -1;
peer->shm_fd = -1;
peer->last_sent_pos = -1;
return true;
}
......
......@@ -42,6 +42,7 @@ struct Peer {
uint32_t local_pos_reported;
// last position cleaned
volatile uint32_t local_pos_cleaned;
uint32_t last_sent_pos;
// rkey and base address of the remote queue to write to
uint64_t remote_rkey;
......
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