Skip to content
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

Add handling of multi-threading by PID #36

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

benjaminantunes
Copy link
Contributor

You can modify if needed. I commented old code, but maybe it is better to clean it. (If we are sure that my code works well)

@adelnoureddine adelnoureddine self-assigned this Oct 24, 2023
@adelnoureddine adelnoureddine added the enhancement New feature or request label Oct 24, 2023
@adelnoureddine
Copy link
Member

Thanks @benjaminantunes , I'll have a look to your code quite soon, but it is quite an interesting feature to add.

@adelnoureddine
Copy link
Member

Hi @benjaminantunes, I'll merge your PR, but add this feature (monitoring PID using TIDs instead of PID directly) behind an experimental flag (-k).
I am still not sure that TID stat are updated regularly every second (or less) on all platforms, so I can't use this by default.

@adelnoureddine adelnoureddine merged commit a35af66 into joular:develop Jun 20, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Properly handle multi-threading statistics in Linux
2 participants