Decrease CPU workload for low traffic condition in perfdhcp
#283 (closed) implemented support for optional threaded support in perfdhcp. The code behaves better when generating high volume traffic on multi-core systems. However, it does not handle well situations where there is only one core and little traffic is needed.
During discussions on !135 and related it became apparent that the approach to slip for 1 us is not the right solution. The code should behave adaptively and calculate time to the next action rather than check it a million times per second.
Related MR: !165