summaryrefslogtreecommitdiff
path: root/src/ipcpd/config.h.in
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2021-07-11 14:01:15 +0200
committerSander Vrijders <sander@ouroboros.rocks>2021-07-12 09:09:44 +0200
commite33be771e4d9e5a88119f4e3af6259e01257c8a5 (patch)
tree7097dbed859814fb100e61c3af66b040e191f12d /src/ipcpd/config.h.in
parentd064464945878df38127279233bc433fef529c90 (diff)
downloadouroboros-e33be771e4d9e5a88119f4e3af6259e01257c8a5.tar.gz
ouroboros-e33be771e4d9e5a88119f4e3af6259e01257c8a5.zip
ipcpd: Reduce Linux slack timer
This will reduce the linux high resolution slack timer in IPCPs. Linux default for userspace processes is 50us. It is configurable at build using IPCP_LINUX_SLACKTIMER_NS. Default is now 1us. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/ipcpd/config.h.in')
-rw-r--r--src/ipcpd/config.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ipcpd/config.h.in b/src/ipcpd/config.h.in
index ba4c3260..0bf3ad69 100644
--- a/src/ipcpd/config.h.in
+++ b/src/ipcpd/config.h.in
@@ -39,6 +39,8 @@
#define IPCP_ADD_THREADS @IPCP_ADD_THREADS@
#cmakedefine HAVE_LIBGCRYPT
+#define IPCP_LINUX_SLACK_NS @IPCP_LINUX_TIMERSLACK_NS@
+
/* unicast IPCP */
#define QOS_PRIO_BE @IPCP_QOS_CUBE_BE_PRIO@
#define QOS_PRIO_VIDEO @IPCP_QOS_CUBE_VIDEO_PRIO@