You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve resilience against clock adjustments (#5018) (#5189)
* Improve resilience against clock adjustments (#5018)
* Use steady_clock instead of high_resolution_clock for status checks (high_resolution_clock might not be steady depending on STL impl)
Signed-off-by: Matthias Schneider <[email protected]>
* Use steady_clock instead for system_clock for calculating timeouts
Signed-off-by: Matthias Schneider <[email protected]>
* Use correct clock's duration for duration_cast
Signed-off-by: Matthias Schneider <[email protected]>
* Use Time_t::now()
Signed-off-by: Matthias Schneider <[email protected]>
* Fix build.
Signed-off-by: Miguel Company <[email protected]>
* Refs #21314. Refactor on DataWriterImpl.
Signed-off-by: Miguel Company <[email protected]>
* Refs #21314. Refactor on DataReaderImpl.
Signed-off-by: Miguel Company <[email protected]>
* Refs #21314. Refactor on StatefulWriter.
Signed-off-by: Miguel Company <[email protected]>
* Refs #21314. Protect current_time_since_unix_epoch against clock adjustments.
Signed-off-by: Miguel Company <[email protected]>
* Revert "Use steady_clock instead of high_resolution_clock for status checks (high_resolution_clock might not be steady depending on STL impl)"
This reverts commit d69eb91.
---------
Signed-off-by: Matthias Schneider <[email protected]>
Signed-off-by: Miguel Company <[email protected]>
Co-authored-by: Miguel Company <[email protected]>
(cherry picked from commit ccc690c)
* Refs #21314: Fix conflicts and build issues
Signed-off-by: JesusPoderoso <[email protected]>
* Refs #21314: Apply rev suggestions
Signed-off-by: JesusPoderoso <[email protected]>
* Refs #21314: Please uncrustify
Signed-off-by: JesusPoderoso <[email protected]>
* Keep comparison
Signed-off-by: Miguel Company <[email protected]>
* Use rtps data types
Signed-off-by: Miguel Company <[email protected]>
---------
Signed-off-by: Matthias Schneider <[email protected]>
Signed-off-by: Miguel Company <[email protected]>
Signed-off-by: JesusPoderoso <[email protected]>
Co-authored-by: Matthias Schneider <[email protected]>
Co-authored-by: Miguel Company <[email protected]>
Co-authored-by: JesusPoderoso <[email protected]>
0 commit comments