Commit 8f5998b7 authored by Joanne Hugé's avatar Joanne Hugé

Fix compilation error caused by previous commit

parent 3f4964a6
...@@ -156,7 +156,6 @@ void recv_udp_packet() { ...@@ -156,7 +156,6 @@ void recv_udp_packet() {
struct timespec *stamp = (struct timespec *)CMSG_DATA(cmsg); struct timespec *stamp = (struct timespec *)CMSG_DATA(cmsg);
uint64_t kernel_latency = post_kernel_timestamp - ts_to_uint(*stamp); uint64_t kernel_latency = post_kernel_timestamp - ts_to_uint(*stamp);
ts_buf_read_index = (ts_buf_read_index + 1) % TIMESTAMP_BUFFER_SIZE;
kernel_latency /= 1000u; kernel_latency /= 1000u;
stats->min_kernel_latency = min(kernel_latency, stats->min_kernel_latency); stats->min_kernel_latency = min(kernel_latency, stats->min_kernel_latency);
......
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