-
Notifications
You must be signed in to change notification settings - Fork 18
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
Update to use ruby 2.1's access to the clock monotonic #22
Comments
This may also require a conditional in the extconf to see if the clock monotonic access in ruby is available, if so then it should not have to run the extension |
Is the monotonic clock the same as what Hitimes currently uses? |
@ioquatix I think under the covers it might. I need to do some testing on windows to see what ruby on windows does, or if it is even available. |
Looks like under the covers ruby attempts to do the same thing I do, but out of the box it doesn't have the same resolution as I can get in hitimes. Ruby uses the same low level calls hitimes does, but uses the data a bit differently. For instance on OSX ruby only gives millisecond resolution while hitimes can give nanosecond - even though under the covers they both use So, going to close this and not implement in terms of ruby's |
No description provided.
The text was updated successfully, but these errors were encountered: