Commit 300f6b14 authored by Andreas Schmidt's avatar Andreas Schmidt

Redo changes.

parent e160fcec
Pipeline #2816 passed with stages
in 1 minute and 41 seconds
......@@ -10,8 +10,8 @@
#include "types/rateSample.h"
#include "../util/windowedFilter.h"
#define PROBE_GAIN 1.25
#define DRAIN_GAIN 0.75
#define PROBE_GAIN 1.1
#define DRAIN_GAIN 0.9
#define RTpropFilterLen 10000000 //10s
#define BBRHighGain ((((float)2885) / 1000) + 1)
#define BBRGainCycleLen 8
......
......@@ -649,7 +649,7 @@ bool PrrtSocket_cleanup(PrrtSocket *s) {
PrrtPacketTimeout *packetTimeout = (PrrtPacketTimeout *) List_shift(expired_packets);
PrrtPacketTimeout_destroy(packetTimeout);
}
//PrrtPacketDeliveryStore_cleanup(s->packetDeliveryStore, now);
PrrtPacketDeliveryStore_cleanup(s->packetDeliveryStore, now);
}
List_destroy(expired_packets);
}
......
......@@ -118,7 +118,7 @@ PrrtPacket *PrrtPacketDeliveryStore_get_packet_wait(PrrtPacketDeliveryStore *sto
PrrtPacket *PrrtPacketDeliveryStore_get_packet(PrrtPacketDeliveryStore *store, prrtTimestamp_t start, prrtTimestamp_t stop) {
PrrtPacket *packet = NULL;
//PrrtPacketDeliveryStore_cleanup(store, PrrtClock_get_current_time_us());
PrrtPacketDeliveryStore_cleanup(store, PrrtClock_get_current_time_us());
check(pthread_mutex_lock(&store->lock) == EXIT_SUCCESS, "Lock failed.");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment