Hi list,

I am getting tsc timestamps from some 3rd party code. I need to
convert it into elapsed time. So if get two timestamps, I want to know
how much time in seconds has elapsed between the two. So I need to
first compute the frequency at which the tsc gets incremented.

I know that tsc is incremented at a constant rate. But is this rate
available somewhere in /proc or will i have to write my own code to
find it. Does the kernel already have such code that allows to convert
from tsc domain to real time domain?

Thanks!
MK

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to