From e53d089817ac22d9430ee6713a8a7a4730c1b688 Mon Sep 17 00:00:00 2001 From: yuasabe Date: Sun, 23 Jan 2022 15:38:33 +0900 Subject: [PATCH] Add T_objstack_updated for measurement --- src/cpm_application.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cpm_application.cpp b/src/cpm_application.cpp index 099863c..c020da0 100644 --- a/src/cpm_application.cpp +++ b/src/cpm_application.cpp @@ -267,6 +267,8 @@ namespace v2x } } RCLCPP_INFO(node_->get_logger(), "ObjectsStack: %d objects", objectsStack.size()); + rclcpp::Time current_time = node_->now(); + RCLCPP_INFO(node_->get_logger(), "[CpmApplication::updateObjectsStack] [measure] T_objstack_updated %ld", current_time.nanoseconds()); updating_objects_stack_ = false; }