-
Notifications
You must be signed in to change notification settings - Fork 740
feat(autoware_universe_utils): add TimeKeeper to track function's processing time #7754
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
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
|
Signed-off-by: Y.Hisaki <yhisaki31@gmail.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7754 +/- ##
==========================================
+ Coverage 28.43% 28.45% +0.02%
==========================================
Files 1588 1592 +4
Lines 116175 116226 +51
Branches 49542 49622 +80
==========================================
+ Hits 33032 33076 +44
- Misses 74131 74139 +8
+ Partials 9012 9011 -1
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: Y.Hisaki <yhisaki31@gmail.com>
Signed-off-by: Y.Hisaki <yhisaki31@gmail.com>
Signed-off-by: Y.Hisaki <yhisaki31@gmail.com>
Signed-off-by: Y.Hisaki <yhisaki31@gmail.com>
Signed-off-by: Y.Hisaki <yhisaki31@gmail.com>
Signed-off-by: Y.Hisaki <yhisaki31@gmail.com>
Signed-off-by: Y.Hisaki <yhisaki31@gmail.com>
Pull request was closed
…cessing time (autowarefoundation#7754) Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
…cessing time (autowarefoundation#7754) Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> Signed-off-by: palas21 <palas21@itu.edu.tr>
…cessing time (autowarefoundation#7754) Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
…cessing time (#7754) Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
…cessing time (autowarefoundation#7754) Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
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.