Added basic Pdh API implementation#469
Merged
dblock merged 1 commit intojava-native-access:masterfrom Jul 20, 2015
Merged
Conversation
Member
There was a problem hiding this comment.
The second quote should also be a back quote, this doesn't render right.
Contributor
Author
There was a problem hiding this comment.
Done - will post an update pull request
Member
|
This is nice and clean, great work! Fix the typo in CHANGELOG please via |
Member
There was a problem hiding this comment.
You might want to auto-format this file too, there should be a space around the =.
Contributor
Author
There was a problem hiding this comment.
Done - will post an updated pull request
Member
|
FWIW performance counters are one of the best features of Windows and I have used it extensively. I encourage you to write up a blog post somewhere with an example of how to use this. |
Member
|
Merging this, thanks. |
dblock
added a commit
that referenced
this pull request
Jul 20, 2015
Added basic Pdh API implementation
mstyura
pushed a commit
to mstyura/jna
that referenced
this pull request
Sep 9, 2024
…se of the window (java-native-access#469) Motivation: We used a value of 1024 which was too big if we couldnt schedule the reads / writes in the right timely manner. This could lead to a deadlock. Modifications: Use a lower value which still provide the required testing but not put us in risk of deadlocks during tests Result: More stable builds on CI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added some (not all) of the API(s) in the pdh.dll - enough to enable using raw performance counters - as can be clearly demonstrated from the test.