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

Ping is higher than Resource Monitor values #41

Open
karashiiro opened this issue Feb 1, 2022 · 2 comments
Open

Ping is higher than Resource Monitor values #41

karashiiro opened this issue Feb 1, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@karashiiro
Copy link
Owner

karashiiro commented Feb 1, 2022

See title. Resource Monitor values, however, are not possible to get directly without administrator privileges. I can attempt to use GetHopCountAndRTT again, but I don't know if this will actually give different results. It also requires getting into complicated error conditions on Wine etc., because it may give an output of 0 without producing an actual error. I prefer keeping things simple so that I don't need to do acrobatics just to make ping work everywhere.

Documentation:
https://docs.microsoft.com/en-us/windows/win32/api/iphlpapi/nf-iphlpapi-getrttandhopcount
https://source.winehq.org/WineAPI/GetRTTAndHopCount.html

@karashiiro karashiiro added the bug Something isn't working label Feb 1, 2022
@karashiiro
Copy link
Owner Author

Also see #28

karashiiro added a commit that referenced this issue Feb 1, 2022
This time, I'm implementing it as a decision tree, with the trackers used
being hardcoded into the top-level ping tracker to make
creating the decision tree simpler.
@karashiiro
Copy link
Owner Author

GetRTTAndHopCount method is implemented as of 87b8025, but it doesn't seem to bring us any closer to resmon values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant