-
Notifications
You must be signed in to change notification settings - Fork 566
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
feat(autoware_universe_utils): add TimeKeeper to track function's processing time #7754
base: main
Are you sure you want to change the base?
Conversation
…cessing time Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
Signed-off-by: Y.Hisaki <yhisaki31@gmail.com>
add new msg |
Signed-off-by: Y.Hisaki <yhisaki31@gmail.com>
void TimeNode::construct_time_tree_msg( | ||
tier4_debug_msgs::msg::TimeTree & time_tree_msg, const int parent_id) | ||
{ | ||
auto time_node_msg = std::make_shared<tier4_debug_msgs::msg::TimeNode>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason to use shared_ptr?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's my mistake. i fixed it.
msg
terminal output
|
Description
Added a class to track the function's processing time.
Terminal (when
show_on_terminal
is True) orros2 topic echo /planning/scenario_planning/lane_driving/motion_planning/path_optimizer/debug/processing_time_detail --field data
Related links
Parent Issue:
How was this PR tested?
Notes for reviewers
None.
Interface changes
None.
Effects on system behavior
None.