◆ ProtoTracker()
Tracks recent proto loss given the sequence numbers of received protos
- Parameters
-
| type | The name of the type of protos being tracked |
◆ getLossRate()
- Returns
- a float equal to the proto loss rate
◆ isLastValid()
- Returns
- a boolean indicating whether the last received proto was valid
◆ send()
| void send |
( |
uint64_t |
seq_num | ) |
|
When a new sequence number is sent, the ProtoTracker updates the proto tracking
- Parameters
-
| seq_num | The sequence number of the newly received proto |
The documentation for this class was generated from the following files:
- src/software/embedded/services/network/proto_tracker.h
- src/software/embedded/services/network/proto_tracker.cpp