diff options
author | Dimitri Staessens <dimitri.staessens@ugent.be> | 2019-02-08 10:47:42 +0100 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2019-02-08 12:39:23 +0100 |
commit | e00c9b13acad23e14df9d5cf4c7868dfd6e1bc55 (patch) | |
tree | 1447e0402a78b79edd03cd8f72bc6c236df81a4c /src/tools/irm/irm_unregister.c | |
parent | 5dd086aa679e3e05d20ef6a19f3fefbe46ffe40e (diff) | |
download | ouroboros-e00c9b13acad23e14df9d5cf4c7868dfd6e1bc55.tar.gz ouroboros-e00c9b13acad23e14df9d5cf4c7868dfd6e1bc55.zip |
lib: Add initial rtt estimator to FRCT
This adds a simple round-trip time estimator to FRCT. The estimate is
a weighted average with deviation. The retransmission is scheduled
after rtt + 2 times the deviation. A retransmit doubles the rtt
estimate to avoid the no-update case when rtt suddenly increases. The
rtt is estimated in microseconds and the granularity for retransmits
is 256 microseconds.
Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be>
Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'src/tools/irm/irm_unregister.c')
0 files changed, 0 insertions, 0 deletions