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

core::arch ? #9

Closed
sebastiencs opened this issue Dec 4, 2019 · 1 comment · Fixed by #12
Closed

core::arch ? #9

sebastiencs opened this issue Dec 4, 2019 · 1 comment · Fixed by #12

Comments

@sebastiencs
Copy link

Hi,

I was looking for a timing library on crates.io and saw quanta.
I am wondering why you are not using the module core::arch ?

It is available on stable rust and the instruction rdtsc is there:
https://doc.rust-lang.org/core/arch/x86_64/fn._rdtsc.html

@tobz
Copy link
Member

tobz commented Dec 4, 2019

No particular reason!

I was playing with the original code back before std::arch was stabilized, didn't update the code once it was available, and then pushed this crate into the world and sort of forgot about using std::arch.

Happy to accept a PR or leave this issue open as a reminder to switch over to std::arch in the next few weeks (busy at work).

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 a pull request may close this issue.

2 participants