Closed SQUIDwarrior closed 3 years ago
While the PR looks good the repository requires that all commits be signed. Can you resubmit this with a signed commit?
While the PR looks good the repository requires that all commits be signed. Can you resubmit this with a signed commit?
Sure, I'll create a new PR with a signed commit.
This modifies the private
watchPidFields()
method to pass through the timing/sample limit parameters to the underlying C function rather than simply use the defaults. I then added a newWatchPidFieldsEx()
method to allow using this feature in code leveraging this library. The existingWatchPidFields()
method maintains the original behavior.I added this because I wanted the ability to get process-level stats at a higher frequency than the default 30s rate. This allows that to be adjusted by users of this library for different use-cases, while maintaining the default behavior.