Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to using get_system_time_in_ns() function everywhere. #354

Merged
merged 1 commit into from
Dec 24, 2024

Conversation

clalancette
Copy link
Collaborator

That way we have just a single place where this is defined, and everywhere can be sure they are getting the correct value in nanoseconds.

That way we have just a single place where this is defined,
and everywhere can be sure they are getting the correct
value in nanoseconds.

Signed-off-by: Chris Lalancette <[email protected]>
@clalancette clalancette force-pushed the clalancette/use-ns-function branch from ad561b0 to cefbdc0 Compare December 23, 2024 18:24
@Yadunund Yadunund merged commit e7493d3 into rolling Dec 24, 2024
4 of 5 checks passed
@Yadunund Yadunund deleted the clalancette/use-ns-function branch December 24, 2024 10:46
@Yadunund
Copy link
Member

Yadunund commented Jan 2, 2025

@Mergifyio backport humble jazzy

Copy link

mergify bot commented Jan 2, 2025

backport humble jazzy

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Jan 2, 2025
That way we have just a single place where this is defined,
and everywhere can be sure they are getting the correct
value in nanoseconds.

Signed-off-by: Chris Lalancette <[email protected]>
(cherry picked from commit e7493d3)

# Conflicts:
#	rmw_zenoh_cpp/src/detail/rmw_subscription_data.cpp
mergify bot pushed a commit that referenced this pull request Jan 2, 2025
That way we have just a single place where this is defined,
and everywhere can be sure they are getting the correct
value in nanoseconds.

Signed-off-by: Chris Lalancette <[email protected]>
(cherry picked from commit e7493d3)

# Conflicts:
#	rmw_zenoh_cpp/src/detail/rmw_subscription_data.cpp
Yadunund pushed a commit that referenced this pull request Jan 2, 2025
That way we have just a single place where this is defined,
and everywhere can be sure they are getting the correct
value in nanoseconds.

Signed-off-by: Chris Lalancette <[email protected]>
Yadunund added a commit that referenced this pull request Jan 2, 2025
…#354) (#380)

* Switch to using get_system_time_in_ns() function everywhere. (#354)

That way we have just a single place where this is defined,
and everywhere can be sure they are getting the correct
value in nanoseconds.

Signed-off-by: Chris Lalancette <[email protected]>

* Add get_system_time_in_ns()

Signed-off-by: Yadunund <[email protected]>

---------

Signed-off-by: Chris Lalancette <[email protected]>
Signed-off-by: Yadunund <[email protected]>
Co-authored-by: Chris Lalancette <[email protected]>
Co-authored-by: Yadunund <[email protected]>
Yadunund added a commit that referenced this pull request Jan 2, 2025
…#354) (#380)

* Switch to using get_system_time_in_ns() function everywhere. (#354)

That way we have just a single place where this is defined,
and everywhere can be sure they are getting the correct
value in nanoseconds.

Signed-off-by: Chris Lalancette <[email protected]>

* Add get_system_time_in_ns()

Signed-off-by: Yadunund <[email protected]>

---------

Signed-off-by: Chris Lalancette <[email protected]>
Signed-off-by: Yadunund <[email protected]>
Co-authored-by: Chris Lalancette <[email protected]>
Co-authored-by: Yadunund <[email protected]>
Yadunund added a commit that referenced this pull request Jan 2, 2025
…#354) (#380) (#379)

* Switch to using get_system_time_in_ns() function everywhere. (#354)

That way we have just a single place where this is defined,
and everywhere can be sure they are getting the correct
value in nanoseconds.



* Add get_system_time_in_ns()



---------

Signed-off-by: Chris Lalancette <[email protected]>
Signed-off-by: Yadunund <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Chris Lalancette <[email protected]>
Co-authored-by: Yadunund <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants