summaryrefslogtreecommitdiff
path: root/sysdep/unix/io-loop.h
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2023-04-06 20:18:04 +0200
committerMaria Matejka <mq@ucw.cz>2023-04-06 20:18:04 +0200
commit6e2f00ff9391ed41c7e0e991daff17f603d51c4d (patch)
tree45e1dc6d31db4cf598f69c3041bcbc19d2fefee6 /sysdep/unix/io-loop.h
parent22a0900ec22511b6ce872f126e9766ccb4e5a824 (diff)
Loop: keep running the same loop for some time if there is work to do
Diffstat (limited to 'sysdep/unix/io-loop.h')
-rw-r--r--sysdep/unix/io-loop.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdep/unix/io-loop.h b/sysdep/unix/io-loop.h
index 7ec903af..c531d43e 100644
--- a/sysdep/unix/io-loop.h
+++ b/sysdep/unix/io-loop.h
@@ -84,6 +84,10 @@ struct bird_thread
event cleanup_event;
int sock_changed;
+ uint loop_count;
+
+ u64 max_latency_ns;
+ u64 max_loop_time_ns;
};
#endif