impl-node: Make rounding of quantum configurable

Add new context config clock.power-of-two-quantum to make it possible to
not round quantum to closest lower power of two. This makes it possible
to match the quantum of a source node with the quantum of a client
node.
This commit is contained in:
Jonas Holmberg 2021-03-16 15:19:48 +01:00 committed by Wim Taymans
parent d143c169cc
commit 44e0251afd
4 changed files with 24 additions and 15 deletions

View file

@ -58,6 +58,7 @@ struct defaults {
uint32_t link_max_buffers;
unsigned int mem_warn_mlock:1;
unsigned int mem_allow_mlock:1;
unsigned int clock_power_of_two_quantum:1;
};
struct ratelimit {