-
Notifications
You must be signed in to change notification settings - Fork 124
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
more processes #2469
base: develop
Are you sure you want to change the base?
more processes #2469
Conversation
Quality Gate passedIssues Measures |
"node", | ||
"rviz", | ||
"rqt", | ||
"ros2 launch", |
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.
Nit: Shouldn't need ros2 launch
since ros2
is already a keyword
cmdline_lower = cmdline.lower() | ||
|
||
# Check exclusions first | ||
if any(excl in name_lower or excl in cmdline_lower for excl in EXCLUDE_KEYWORDS): |
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.
If there is an excluded keyword in the process and also a ROS keyword this would still return false, is that the desired behavior?
PR Details
Description
Previously in #2467, cpu usage script was merged.
It captured only few keywords.
This PR updates the code to capture the keywords more elegantly and few more keywords as well.
With this the usage shows slightly higher; hence, slightly accurate. However, it didn't increase that much significantly which makes sense.
Related GitHub Issue
NA
Related Jira Key
https://usdot-carma.atlassian.net/browse/ARC-255
Motivation and Context
Discovered during creating plot for the usage.
How Has This Been Tested?
Tested on CDASIM run
Before:
After (memory usage went down because I closed several orphan rviz windows. And the bump in the end is extra scripts running to save logs that we used in CP VRU use case):
Types of changes
Checklist: