Skip to content
Snippets Groups Projects
Commit 02442f3f authored by Glauber Costa's avatar Glauber Costa
Browse files

hpet: convert counters to nanoseconds

I've made the mistake of presenting the counter value directly instead of
converting it to nanoseconds. We need to do that, by grabbing the period from
the device and using it.

Since hpet is already our slow fallback anyway, I am using simple
multiplication and not bothering with complex mult / shift stuff.
parent 6842d8ce
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment