Skip to content

Conversation

@metacosm
Copy link
Owner

  • fix: do not attempt to get cpu share if no pids are provided
  • feat: divide cpu percent by full cpu "potential"
  • feat: add PIDRegistry to record tracked pids & provide them as String
  • feat: enable external cpu share recording

Not sure this is the appropriate calculation to do here, especially for
mono-threaded processes…
Currently done using PSExtractionStrategy, i.e. using ps' output, which
isn't super accurate…
@metacosm metacosm self-assigned this Nov 13, 2025
@metacosm metacosm merged commit 903d726 into main Nov 14, 2025
2 of 4 checks passed
@metacosm metacosm deleted the external-cpu-share branch November 14, 2025 10:56
@metacosm
Copy link
Owner Author

Merging with failing tests to be able to work on the Linux implementation first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant