ktime_get() equivalent from user space

manty kuma mantykuma at gmail.com
Mon Dec 1 03:12:44 EST 2014


Hi,

I need to measure some timings in my system. At driver level, i am using
ktime_get() to log the times.
I need to map this to something of the same unit at user space.

I checked /proc/uptime. This value also includes the suspend time which
ktime_get() doesn't include. Hence this option is ruled out.

Is there any other proc entry or any other source which is of same unit?

Best Regards,
manty
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20141201/e68e565e/attachment.html 


More information about the Kernelnewbies mailing list