From ae62e07d427dbac6591f5ae7bf95103d303dfa2d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 May 2024 17:24:35 +0000 Subject: [PATCH] ci(pre-commit): autofix --- src/tilde_deadline_detector/src/forward_estimator.cpp | 3 +-- .../src/tilde_deadline_detector_node.cpp | 7 +++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/tilde_deadline_detector/src/forward_estimator.cpp b/src/tilde_deadline_detector/src/forward_estimator.cpp index 3e6a63bd..fad3b9cb 100644 --- a/src/tilde_deadline_detector/src/forward_estimator.cpp +++ b/src/tilde_deadline_detector/src/forward_estimator.cpp @@ -276,8 +276,7 @@ void ForwardEstimator::debug_print(bool verbose) const n_topic_sensors += it.second.size(); } - std::cout << "sources: " << n_sources << " " - << "message_sources: " << n_message_sources << " " + std::cout << "sources: " << n_sources << " " << "message_sources: " << n_message_sources << " " << "topic_sensors: " << n_topic_sensors << std::endl; } } diff --git a/src/tilde_deadline_detector/src/tilde_deadline_detector_node.cpp b/src/tilde_deadline_detector/src/tilde_deadline_detector_node.cpp index 93583e8d..c830cba5 100644 --- a/src/tilde_deadline_detector/src/tilde_deadline_detector_node.cpp +++ b/src/tilde_deadline_detector/src/tilde_deadline_detector_node.cpp @@ -179,11 +179,10 @@ void TildeDeadlineDetectorNode::init() std::chrono::duration_cast(et - st).count()); if (show_performance) { - std::cout << "message_tracking_tag_callback: " - << " avg: " << message_tracking_tag_callback_counter_.avg << "\n" + std::cout << "message_tracking_tag_callback: " << " avg: " + << message_tracking_tag_callback_counter_.avg << "\n" << " max: " << message_tracking_tag_callback_counter_.max << "\n" - << "timer_callback: " - << " avg: " << timer_callback_counter_.avg << "\n" + << "timer_callback: " << " avg: " << timer_callback_counter_.avg << "\n" << " max: " << timer_callback_counter_.max << std::endl; this->fe.debug_print(); }