Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LARN
PRRT
Commits
46d5f51d
Commit
46d5f51d
authored
May 08, 2021
by
Sven Liefgen
Browse files
Use timestamp for encode
parent
9ebe103a
Pipeline
#4870
passed with stages
in 5 minutes and 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
prrt/src/socket.rs
View file @
46d5f51d
...
...
@@ -1286,9 +1286,9 @@ fn transmit<C: 'static + Coder>(s: &mut SendSocket<C>, mut packet: DataPacket) {
}
if
block
.encode_ready
()
{
xlap
::
timestamp_c
ycle
!
(
TS_
REDUNDANCY
,
seqno
.into
(),
PrrtEncodeStart
);
xlap
::
timestamp_c
lock
!
(
TS_
DATA
,
seqno
.into
(),
PrrtEncodeStart
);
block
.encode
(
&
mut
s
.sequence_number_redundancy
);
xlap
::
timestamp_c
ycle
!
(
TS_
REDUNDANCY
,
seqno
.into
(),
PrrtEncodeEnd
);
xlap
::
timestamp_c
lock
!
(
TS_
DATA
,
seqno
.into
(),
PrrtEncodeEnd
);
// TODO: unwrap
retransmission_round_handler
(
s
.inner
.clone
(),
block
,
s
.send_data_queue
.clone
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment