From 0322d5166683b3c4c843fc44d47eb4fda6b9e7cc Mon Sep 17 00:00:00 2001 From: liu cui Date: Tue, 7 Jan 2025 09:49:19 +0800 Subject: [PATCH] feat(autoware_internal_debug_msgs): add ProcessingTime msgs Signed-off-by: liu cui --- autoware_internal_debug_msgs/CMakeLists.txt | 2 ++ .../msg/ProcessingTimeNode.msg | 10 ++++++++++ .../msg/ProcessingTimeTree.msg | 2 ++ 3 files changed, 14 insertions(+) create mode 100644 autoware_internal_debug_msgs/msg/ProcessingTimeNode.msg create mode 100644 autoware_internal_debug_msgs/msg/ProcessingTimeTree.msg diff --git a/autoware_internal_debug_msgs/CMakeLists.txt b/autoware_internal_debug_msgs/CMakeLists.txt index 74a8a3b..9739610 100644 --- a/autoware_internal_debug_msgs/CMakeLists.txt +++ b/autoware_internal_debug_msgs/CMakeLists.txt @@ -15,6 +15,8 @@ set(msg_files "msg/Int64Stamped.msg" "msg/Int64MultiArrayStamped.msg" "msg/StringStamped.msg" + "msg/ProcessingTimeNode.msg" + "msg/ProcessingTimeTree.msg" ) set(srv_files diff --git a/autoware_internal_debug_msgs/msg/ProcessingTimeNode.msg b/autoware_internal_debug_msgs/msg/ProcessingTimeNode.msg new file mode 100644 index 0000000..e7d4409 --- /dev/null +++ b/autoware_internal_debug_msgs/msg/ProcessingTimeNode.msg @@ -0,0 +1,10 @@ +# Unique ID of the node +int32 id +# Name of the node +string name +# Processing time of the node +float64 processing_time +# ID of the parent node, 0 if no parent +int32 parent_id +# Comment +string comment diff --git a/autoware_internal_debug_msgs/msg/ProcessingTimeTree.msg b/autoware_internal_debug_msgs/msg/ProcessingTimeTree.msg new file mode 100644 index 0000000..0e7be75 --- /dev/null +++ b/autoware_internal_debug_msgs/msg/ProcessingTimeTree.msg @@ -0,0 +1,2 @@ +# Array of all time nodes +ProcessingTimeNode[] nodes