mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-17 14:48:20 +00:00
nic_router: avoid marginal timeout updates
The link dissolve timeout is updated for every packet, which leads to trigger_once() RPCs that only marginally change the scheduled timeout but significantly slow down the packet throughput. genodelabs/genode#4555
This commit is contained in:
committed by
Christian Helmuth
parent
3ea910bf83
commit
735abca1b6
@ -123,6 +123,8 @@ class Genode::Timeout : private Noncopyable,
|
||||
void discard();
|
||||
|
||||
bool scheduled();
|
||||
|
||||
Microseconds deadline() const { return _deadline; }
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user