On Wed, Aug 22, 2012 at 6:34 PM, Dragos Diaconescu
<diacones...@gmail.com> wrote:
>    at an interval of some nanoseconds and to use the ndelay function. I saw
> that in the kernel implementation
>    for the uml there is no "delay_tsc"
>    function and there is only the "delay_loop" function. I am wondering why
> the delay_tsc is not implemented. Is it not
>    possible to read the TSC register?
>    I would need this for having a nanosecond precision.

You can access TSC from user space, so also UML can read it.
There is no delay_tsc() in UML because nobody cared so far.
Feel free to implement it and send me a patch. :-)

-- 
Thanks,
//richard

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to