Commit d334e523 authored by Andreas Schmidt's avatar Andreas Schmidt

Add logging for two paces.

parent 10a783e5
Pipeline #2782 passed with stages
in 1 minute and 54 seconds
......@@ -562,9 +562,13 @@ 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) {
return PrrtPace_get_max(s->prrtReceivePace);
prrtTimedelta_t pace_max = PrrtPace_get_max(s->prrtReceivePace);
debug(DEBUG_DATARECEIVER, "PrrtReceivePaceMax: %d", pace_max);
return pace_max;
} else if (strcmp(name, "prrt_receive_eff_pace") == 0) {
return PrrtPace_get_eff(s->prrtReceivePace);
prrtTimedelta_t pace_eff = PrrtPace_get_eff(s->prrtReceivePace);
debug(DEBUG_DATARECEIVER, "PrrtReceivePaceEff: %d", pace_eff);
return pace_eff;
} 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