Commit 46d5f51d authored by Sven Liefgen's avatar Sven Liefgen
Browse files

Use timestamp for encode

parent 9ebe103a
Pipeline #4870 passed with stages
in 5 minutes and 3 seconds
......@@ -1286,9 +1286,9 @@ fn transmit<C: 'static + Coder>(s: &mut SendSocket<C>, mut packet: DataPacket) {
if block.encode_ready() {
xlap::timestamp_cycle!(TS_REDUNDANCY, seqno.into(), PrrtEncodeStart);
xlap::timestamp_clock!(TS_DATA, seqno.into(), PrrtEncodeStart);
block.encode(&mut s.sequence_number_redundancy);
xlap::timestamp_cycle!(TS_REDUNDANCY, seqno.into(), PrrtEncodeEnd);
xlap::timestamp_clock!(TS_DATA, seqno.into(), PrrtEncodeEnd);
// TODO: unwrap
retransmission_round_handler(s.inner.clone(), block, s.send_data_queue.clone());
Supports Markdown
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