From 2d22509e7e57e21b7be22ace863e8a224181d9d0 Mon Sep 17 00:00:00 2001 From: Tim Evens Date: Wed, 21 Feb 2024 20:53:59 -0800 Subject: [PATCH 1/3] Change to use steady clock and update transport Transport update fixes reset and wait issue --- dependencies/libquicr | 2 +- src/QController.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dependencies/libquicr b/dependencies/libquicr index 000af71..3f06f8e 160000 --- a/dependencies/libquicr +++ b/dependencies/libquicr @@ -1 +1 @@ -Subproject commit 000af71037acfa6545a07c1cdc99b287d3e6d89a +Subproject commit 3f06f8ed335a5fd9c4f56b48bf61e682d4854b1d diff --git a/src/QController.cpp b/src/QController.cpp index 6482890..78fdd2f 100644 --- a/src/QController.cpp +++ b/src/QController.cpp @@ -117,7 +117,7 @@ void QController::publishNamedObject(const quicr::Namespace& quicrNamespace, const auto& publication = it->second; if (publication.state != PublicationState::paused) { - const auto start_time = std::chrono::time_point_cast(std::chrono::system_clock::now()); + const auto start_time = std::chrono::time_point_cast(std::chrono::steady_clock::now()); std::vector trace; trace.reserve(10); @@ -138,7 +138,7 @@ void QController::publishNamedObjectTest(std::uint8_t* data, std::size_t len, bo const auto& publication = quicrPublicationsMap.begin()->second; if (publication.state != PublicationState::paused) { - const auto start_time = std::chrono::time_point_cast(std::chrono::system_clock::now()); + const auto start_time = std::chrono::time_point_cast(std::chrono::steady_clock::now()); std::vector trace; trace.push_back({"qController:publishNamedObject", start_time}); From 104780ea2174129385d84d2e579b9adc715740f4 Mon Sep 17 00:00:00 2001 From: Tim Evens Date: Wed, 21 Feb 2024 21:19:49 -0800 Subject: [PATCH 2/3] ... --- dependencies/libquicr | 2 +- test/relay.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dependencies/libquicr b/dependencies/libquicr index 3f06f8e..4af9238 160000 --- a/dependencies/libquicr +++ b/dependencies/libquicr @@ -1 +1 @@ -Subproject commit 3f06f8ed335a5fd9c4f56b48bf61e682d4854b1d +Subproject commit 4af92381ccbde7c41c23d3877c61a3ec1ae3ee1d diff --git a/test/relay.cpp b/test/relay.cpp index e14ccfa..03ddfd0 100644 --- a/test/relay.cpp +++ b/test/relay.cpp @@ -285,7 +285,7 @@ TEST_CASE("Localhost relay") pub_del_a->await_publish_intent_response(); std::vector trace; - const auto start_time = std::chrono::time_point_cast(std::chrono::system_clock::now()); + const auto start_time = std::chrono::time_point_cast(std::chrono::steady_clock::now()); trace.push_back({"client:publish", start_time}); From 0fe6e027b9abbf202c8917f41bd4557ffe70b947 Mon Sep 17 00:00:00 2001 From: Tim Evens Date: Fri, 23 Feb 2024 09:46:45 -0800 Subject: [PATCH 3/3] Update libquicr to latest main --- dependencies/libquicr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies/libquicr b/dependencies/libquicr index 4af9238..9170925 160000 --- a/dependencies/libquicr +++ b/dependencies/libquicr @@ -1 +1 @@ -Subproject commit 4af92381ccbde7c41c23d3877c61a3ec1ae3ee1d +Subproject commit 9170925095b9ef15fd56775b09d2c8eac2535a7e