Commit 807f5fce authored by Andreas Schmidt's avatar Andreas Schmidt

Remove logging. Use appDeliver max pace.

parent d334e523
Pipeline #2783 passed with stages
in 1 minute and 41 seconds
......@@ -101,7 +101,7 @@ static bool send_feedback(PrrtSocket *sock_ptr,
PrrtLossStatistics stats = sock_ptr->lossStatistics;
int group_RTT = 0; // TODO: To be determined.
uint32_t local_bottleneck_pace = MAX(PrrtPace_get_diff(sock_ptr->appDeliverPace), PrrtPace_get_max(sock_ptr->prrtReceivePace));
uint32_t local_bottleneck_pace = MAX(PrrtPace_get_max(sock_ptr->appDeliverPace), PrrtPace_get_max(sock_ptr->prrtReceivePace));
debug(DEBUG_DATARECEIVER, "Local Bottelenck Pace: %d, App: %d, Trans: %d", local_bottleneck_pace, PrrtPace_get_diff(sock_ptr->appDeliverPace), PrrtPace_get_max(sock_ptr->prrtReceivePace));
PrrtPacket *feedback_pkt_ptr = PrrtPacket_create_feedback_packet(0, sock_ptr->sequenceNumberFeedback++, group_RTT,
stats.gapLength, stats.gapCount, stats.burstLength,
......
......@@ -562,13 +562,9 @@ uint32_t PrrtSocket_get_sock_opt(PrrtSocket *s, const char *name) {
} else if (strcmp(name, "prrt_transmit_eff_pace") == 0) {
return PrrtPace_get_eff(s->prrtTransmitPace);
} else if (strcmp(name, "prrt_receive_max_pace") == 0) {
prrtTimedelta_t pace_max = PrrtPace_get_max(s->prrtReceivePace);
debug(DEBUG_DATARECEIVER, "PrrtReceivePaceMax: %d", pace_max);
return pace_max;
return PrrtPace_get_max(s->prrtReceivePace);
} else if (strcmp(name, "prrt_receive_eff_pace") == 0) {
prrtTimedelta_t pace_eff = PrrtPace_get_eff(s->prrtReceivePace);
debug(DEBUG_DATARECEIVER, "PrrtReceivePaceEff: %d", pace_eff);
return pace_eff;
return PrrtPace_get_eff(s->prrtReceivePace);
} else if (strcmp(name, "app_deliver_max_pace") == 0) {
return PrrtPace_get_max(s->appDeliverPace);
} else if (strcmp(name, "app_deliver_eff_pace") == 0) {
......
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